diff options
-rw-r--r-- | src/edit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.rs b/src/edit.rs index aa8c7b1..178e188 100644 --- a/src/edit.rs +++ b/src/edit.rs @@ -30,7 +30,7 @@ pub fn edit(contents: &str, help: &str) -> Result<String> { let editor = std::path::Path::new(&editor); let mut editor_args = vec![]; - #[allow(clippy::single_match)] // more to come + #[allow(clippy::single_match_else)] // more to come match editor.file_name() { Some(editor) => match editor.to_str() { Some("vim" | "nvim") => { |