List all valid actions in config error message (#848)
This commit is contained in:
parent
2ea6ec5c8f
commit
7a5eebd094
|
@ -399,7 +399,7 @@ impl<'a> de::Deserialize<'a> for ActionWrapper {
|
||||||
type Value = ActionWrapper;
|
type Value = ActionWrapper;
|
||||||
|
|
||||||
fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
f.write_str("Paste, Copy, PasteSelection, or Quit")
|
f.write_str("Paste, Copy, PasteSelection, IncreaseFontSize, DecreaseFontSize, ResetFontSize, or Quit")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_str<E>(self, value: &str) -> ::std::result::Result<ActionWrapper, E>
|
fn visit_str<E>(self, value: &str) -> ::std::result::Result<ActionWrapper, E>
|
||||||
|
|
Loading…
Reference in New Issue