diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-12-10 22:30:16 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-12-10 22:30:16 +0100 |
| commit | 0c93e4cdb2f6f41fdfd484f5b529454707850570 (patch) | |
| tree | 2603fb03a18cb53abc911c4a76a858070ea7c84c | |
| parent | d4da776ea77618a8b50f25b40224678065e27510 (diff) | |
| download | rust-0c93e4cdb2f6f41fdfd484f5b529454707850570.tar.gz rust-0c93e4cdb2f6f41fdfd484f5b529454707850570.zip | |
s/clippy/Clippy in readme
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
