diff options
Diffstat (limited to 'vendor/dialoguer/examples/editor.rs')
-rw-r--r-- | vendor/dialoguer/examples/editor.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/dialoguer/examples/editor.rs b/vendor/dialoguer/examples/editor.rs deleted file mode 100644 index 5cc21db..0000000 --- a/vendor/dialoguer/examples/editor.rs +++ /dev/null @@ -1,10 +0,0 @@ -use dialoguer::Editor; - -fn main() { - if let Some(rv) = Editor::new().edit("Enter a commit message").unwrap() { - println!("Your message:"); - println!("{}", rv); - } else { - println!("Abort!"); - } -} |