diff --git a/README.md b/README.md index 3e35f092559..f42771709fb 100644 --- a/README.md +++ b/README.md @@ -106,8 +106,8 @@ script: # etc. ``` -It might happen that clippy is not available for a certain nightly release. -In this case you can try to conditionally install clippy from the git repo. +It might happen that Clippy is not available for a certain nightly release. +In this case you can try to conditionally install Clippy from the git repo. ```yaml language: rust @@ -149,7 +149,7 @@ You can add options to your code to `allow`/`warn`/`deny` Clippy lints: Note: `deny` produces errors instead of warnings. -If you do not want to include your lint levels in your code, you can globally enable/disable lints by passing extra flags to clippy during the run: `cargo clippy -- -A clippy::lint_name` will run clippy with `lint_name` disabled and `cargo clippy -- -W clippy::lint_name` will run it with that enabled. This also works with lint groups. For example you can run Clippy with warnings for all lints enabled: `cargo clippy -- -W clippy::pedantic` +If you do not want to include your lint levels in your code, you can globally enable/disable lints by passing extra flags to Clippy during the run: `cargo clippy -- -A clippy::lint_name` will run Clippy with `lint_name` disabled and `cargo clippy -- -W clippy::lint_name` will run it with that enabled. This also works with lint groups. For example you can run Clippy with warnings for all lints enabled: `cargo clippy -- -W clippy::pedantic` ## License