diff --git a/src/main.rs b/src/main.rs index 02104a2..2afe9db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -319,6 +319,8 @@ impl FormattingStats { if self.reformatted > 0 { let msg = if check_mode { "would be reformatted" + } else if self.reformatted == 1 { + "was formatted" } else { "were formatted" };