From 8141f35cdc17786a94b955efde5da0b0b9504f01 Mon Sep 17 00:00:00 2001 From: mars Date: Wed, 12 Apr 2023 19:48:17 -0400 Subject: [PATCH] Correct typo in unsaved quit error message --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),