// Result<(), E> where E: Display // Ok(()) will do nothing and return 0 // Err(E) will print E to stderr and return 1 use termination::display; #[display] fn main() -> Result<(), String> { Ok(()) }