Correct typo in unsaved quit error message

This commit is contained in:
mars 2023-04-12 19:48:17 -04:00
parent f04b0ecaab
commit 8141f35cdc
1 changed files with 1 additions and 1 deletions

View File

@ -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),