mod dirs; pub mod error; pub mod feed; pub mod manager; pub mod status; pub trait PrintResult { fn print(&self); } impl PrintResult for Result where T: std::fmt::Display, E: std::fmt::Display, { fn print(&self) { match self { Ok(ok) => println!("{ok}"), Err(err) => eprintln!("{err}"), } } }