1 2 3 4
use anyhow::Result; pub trait EditorPort { fn edit(&self, initial: &str) -> Result<String>; }