From 0dffec8a5ccd036622bbe16d8d725dc887241847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Santoro?= Date: Fri, 11 Nov 2016 05:27:18 +0100 Subject: [PATCH] Improve config::WriteMode comments - Fix typo - Switch comments verbs to the the 3rd person to offer a better coherence among options --- src/config.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index 8fe9552c7f86..22db4d648fcb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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, }