Correct typo in unsaved quit error message
This commit is contained in:
parent
f04b0ecaab
commit
8141f35cdc
|
@ -368,7 +368,7 @@ impl State {
|
||||||
if self.last_saved == *self.buffer.as_ref() {
|
if self.last_saved == *self.buffer.as_ref() {
|
||||||
self.quit = true;
|
self.quit = true;
|
||||||
} else {
|
} 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),
|
"w" => return self.write_command(command, args),
|
||||||
|
|
Loading…
Reference in New Issue