mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
Improve config::WriteMode comments
- Fix typo - Switch comments verbs to the the 3rd person to offer a better coherence among options
This commit is contained in:
+5
-5
@@ -154,19 +154,19 @@ pub fn to_list_tactic(self) -> ListTactic {
|
||||
}
|
||||
|
||||
configuration_option_enum! { WriteMode:
|
||||
// Backsup the original file and overwrites the orignal.
|
||||
// Backs the original file up and overwrites the original.
|
||||
Replace,
|
||||
// Overwrites original file without backup.
|
||||
Overwrite,
|
||||
// Write the output to stdout.
|
||||
// Writes the output to stdout.
|
||||
Display,
|
||||
// Write the diff to stdout.
|
||||
// Writes the diff to stdout.
|
||||
Diff,
|
||||
// Display how much of the input file was processed
|
||||
// Displays how much of the input file was processed
|
||||
Coverage,
|
||||
// Unfancy stdout
|
||||
Plain,
|
||||
// Output a checkstyle XML file.
|
||||
// Outputs a checkstyle XML file.
|
||||
Checkstyle,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user