Skip to content

Commit 9015884

Browse files
committed
Fix small mistakes
1 parent 526f02e commit 9015884

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lintcheck/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "lintcheck"
33
version = "0.0.1"
4-
description = "tool to monitor impact of changes in Clippys lints on a part of the ecosystem"
4+
description = "tool to monitor impact of changes in Clippy's lints on a part of the ecosystem"
55
readme = "README.md"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/rust-clippy"

lintcheck/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ is explicitly specified in the options.
7070

7171
### Fix mode
7272
You can run `./lintcheck/target/debug/lintcheck --fix` which will run Clippy with `--fix` and
73-
print a warning if Clippys suggestions fail to apply (if the resulting code does not build).
73+
print a warning if Clippy's suggestions fail to apply (if the resulting code does not build).
7474
This lets us spot bad suggestions or false positives automatically in some cases.
7575

7676
Please note that the target dir should be cleaned afterwards since clippy will modify

lintcheck/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ fn lintcheck_needs_rerun(lintcheck_logs_path: &Path) -> bool {
545545
fn main() {
546546
// assert that we launch lintcheck from the repo root (via cargo lintcheck)
547547
if std::fs::metadata("lintcheck/Cargo.toml").is_err() {
548-
eprintln!("lintcheck needs to be run from clippys repo root!\nUse `cargo lintcheck` alternatively.");
548+
eprintln!("lintcheck needs to be run from clippy's repo root!\nUse `cargo lintcheck` alternatively.");
549549
std::process::exit(3);
550550
}
551551

@@ -586,7 +586,7 @@ fn main() {
586586
.map(|o| String::from_utf8_lossy(&o.stdout).into_owned())
587587
.expect("could not get clippy version!");
588588

589-
// download and extract the crates, then run clippy on them and collect clippys warnings
589+
// download and extract the crates, then run clippy on them and collect clippy's warnings
590590
// flatten into one big list of warnings
591591

592592
let crates = read_crates(&config.sources_toml_path);

0 commit comments

Comments
 (0)