Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11504 - strager:fix-profile-doc, r=weihanglo
fix(docs): add required "inherits" option to example profile ## What does this PR try to resolve? I copy-pasted then modified the example [profile.<name>] section in Cargo's docs. I was met with the following error: > error: profile quick-build-incremental is missing an inherits directive (inherits is required for all profiles except dev or release) ## How should we test and review this PR? Copy-paste the new docs into a `Cargo.toml` file, tweak, then try to use the new profile (`cargo build --profile mynewprofile`). ## Additional information None
- Loading branch information