I currently have to use this to format a .expect() message: fn main() { let x: Option<&str> = None; x.expect(&format!("the world is ending: {}", "foo")[.
確定! 回上一頁