Function edit_mut_in_editor

Source
pub fn edit_mut_in_editor(string: &mut String) -> Result<(), OpenEditorError>
Expand description

Open the default editor and allows editing of a mutable string.

ยงErrors

This function will return an error if the editor call fails, if the file cannot be read, or if the temporary file cleanup fails.