diff --git a/src/main.rs b/src/main.rs index ee9f53d..a7b0b4c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -368,7 +368,7 @@ impl State { if self.last_saved == *self.buffer.as_ref() { self.quit = true; } else { - return Err("Buffer is unsaved (add ! to override".into()); + return Err("Buffer is unsaved (add ! to override)".into()); } } "w" => return self.write_command(command, args),