Skip to content

Commit 75d86eb

Browse files
author
Seiichi Uchida
committed
Format source codes
1 parent ae9ce7b commit 75d86eb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bin/cargo-fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ fn print_usage(opts: &Options, reason: &str) {
9494
let msg = format!("{}\nusage: cargo fmt [options]", reason);
9595
println!(
9696
"{}\nThis utility formats all bin and lib files of the current crate using rustfmt. \
97-
Arguments after `--` are passed to rustfmt.",
97+
Arguments after `--` are passed to rustfmt.",
9898
opts.usage(&msg)
9999
);
100100
}

src/bin/rustfmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn make_opts() -> Options {
144144
"",
145145
"config-path",
146146
"Recursively searches the given path for the rustfmt.toml config file. If not \
147-
found reverts to the input file path",
147+
found reverts to the input file path",
148148
"[Path for the configuration file]",
149149
);
150150
opts.optopt(

src/checkstyle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ where
5555
write!(
5656
writer,
5757
"<error line=\"{}\" severity=\"warning\" message=\"Should be `{}`\" \
58-
/>",
58+
/>",
5959
mismatch.line_number,
6060
message
6161
)?;

src/file_lines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl<'de> ::serde::de::Deserialize<'de> for FileLines {
228228
{
229229
panic!(
230230
"FileLines cannot be deserialized from a project rustfmt.toml file: please \
231-
specify it via the `--file-lines` option instead"
231+
specify it via the `--file-lines` option instead"
232232
);
233233
}
234234
}

0 commit comments

Comments
 (0)