| Crates.io | default-editor |
| lib.rs | default-editor |
| version | 0.1.0 |
| created_at | 2016-11-06 00:03:45.878189+00 |
| updated_at | 2016-11-06 00:03:45.878189+00 |
| description | Get the default editor for the current environment |
| homepage | https://github.com/LinusU/rust-default-editor |
| repository | https://github.com/LinusU/rust-default-editor |
| max_upload_size | |
| id | 7140 |
| size | 2,490 |
Get the default editor for the current environment
extern crate default_editor;
fn main () {
match default_editor::get() {
Ok(editor) => println!("The default editor is: {}", editor),
Err(error) => println!("Error getting default editor: {}", error),
}
}