about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-09 15:58:58 +0000
committerbors <bors@rust-lang.org>2022-07-09 15:58:58 +0000
commit4d1b976b1d9f8f75d51d61390eeaf350737bf251 (patch)
tree71c486f2704d25c578c23f04d451c12a55517dab
parent3468294b58f0afc0c4241aa94c5c8bfa85ceb9fc (diff)
parent901588432539a420563e5c1512b40bc8f3cc264e (diff)
downloadrust-4d1b976b1d9f8f75d51d61390eeaf350737bf251.tar.gz
rust-4d1b976b1d9f8f75d51d61390eeaf350737bf251.zip
Auto merge of #9141 - alex-semenyuk:grammar_fix, r=dswij
Fix small mistakes

changelog: none
-rw-r--r--lintcheck/Cargo.toml2
-rw-r--r--lintcheck/README.md2
-rw-r--r--lintcheck/src/main.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/lintcheck/Cargo.toml b/lintcheck/Cargo.toml
index 504d58b5197..254f391e4bd 100644
--- a/lintcheck/Cargo.toml
+++ b/lintcheck/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "lintcheck"
 version = "0.0.1"
-description = "tool to monitor impact of changes in Clippys lints on a part of the ecosystem"
+description = "tool to monitor impact of changes in Clippy's lints on a part of the ecosystem"
 readme = "README.md"
 license = "MIT OR Apache-2.0"
 repository = "https://github.com/rust-lang/rust-clippy"
diff --git a/lintcheck/README.md b/lintcheck/README.md
index 8c169506e53..6f3d23382ce 100644
--- a/lintcheck/README.md
+++ b/lintcheck/README.md
@@ -70,7 +70,7 @@ is explicitly specified in the options.
 
 ### Fix mode
 You can run `./lintcheck/target/debug/lintcheck --fix` which will run Clippy with `--fix` and
-print a warning if Clippys suggestions fail to apply (if the resulting code does not build).  
+print a warning if Clippy's suggestions fail to apply (if the resulting code does not build).  
 This lets us spot bad suggestions or false positives automatically in some cases.  
 
 Please note that the target dir should be cleaned afterwards since clippy will modify
diff --git a/lintcheck/src/main.rs b/lintcheck/src/main.rs
index dff9d27db0a..9ee25280f04 100644
--- a/lintcheck/src/main.rs
+++ b/lintcheck/src/main.rs
@@ -545,7 +545,7 @@ fn lintcheck_needs_rerun(lintcheck_logs_path: &Path) -> bool {
 fn main() {
     // assert that we launch lintcheck from the repo root (via cargo lintcheck)
     if std::fs::metadata("lintcheck/Cargo.toml").is_err() {
-        eprintln!("lintcheck needs to be run from clippys repo root!\nUse `cargo lintcheck` alternatively.");
+        eprintln!("lintcheck needs to be run from clippy's repo root!\nUse `cargo lintcheck` alternatively.");
         std::process::exit(3);
     }
 
@@ -586,7 +586,7 @@ fn main() {
         .map(|o| String::from_utf8_lossy(&o.stdout).into_owned())
         .expect("could not get clippy version!");
 
-    // download and extract the crates, then run clippy on them and collect clippys warnings
+    // download and extract the crates, then run clippy on them and collect clippy's warnings
     // flatten into one big list of warnings
 
     let crates = read_crates(&config.sources_toml_path);