Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 3b8982f

Browse files
committed
"rustfix'" → "rustfix's"
1 parent 28dbb43 commit 3b8982f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cargo-fix/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn check_version_control(matches: &::clap::ArgMatches) -> Result<(), Error> {
133133
stream.set_color(ColorSpec::new().set_bold(true))?;
134134
writeln!(stream, "Could not detect a version control system")?;
135135
stream.reset()?;
136-
writeln!(stream, "You should consider using a VCS so you can easily see and revert rustfix' changes.")?;
136+
writeln!(stream, "You should consider using a VCS so you can easily see and revert rustfix's changes.")?;
137137

138138
if !matches.is_present("allow-no-vcs") {
139139
bail!("No VCS found, aborting. Overwrite this behavior with `--allow-no-vcs`.");
@@ -146,7 +146,7 @@ fn check_version_control(matches: &::clap::ArgMatches) -> Result<(), Error> {
146146
stream.set_color(ColorSpec::new().set_bold(true))?;
147147
writeln!(stream, "Working directory dirty")?;
148148
stream.reset()?;
149-
writeln!(stream, "Make sure your working directory is clean so you can easily revert rustfix' changes.")?;
149+
writeln!(stream, "Make sure your working directory is clean so you can easily revert rustfix's changes.")?;
150150

151151
stream.write_all(&output)?;
152152

cargo-fix/tests/all/vcs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn warns_if_no_vcs_detected() {
1717
.check_vcs(true)
1818
.stderr(
1919
"warning: Could not detect a version control system\n\
20-
You should consider using a VCS so you can easily see and revert rustfix' changes.\n\
20+
You should consider using a VCS so you can easily see and revert rustfix's changes.\n\
2121
error: No VCS found, aborting. Overwrite this behavior with `--allow-no-vcs`.\n\
2222
",
2323
)
@@ -43,7 +43,7 @@ fn warns_about_dirty_working_directory() {
4343
.check_vcs(true)
4444
.stderr(
4545
"warning: Working directory dirty\n\
46-
Make sure your working directory is clean so you can easily revert rustfix' changes.\n\
46+
Make sure your working directory is clean so you can easily revert rustfix's changes.\n\
4747
?? Cargo.toml\n\
4848
?? src/\n\
4949
error: Aborting because of dirty working directory. Overwrite this behavior with `--allow-dirty`.\n\n",

0 commit comments

Comments
 (0)