As of Rust 1.40, the standard library has Option::as_deref to do this: fn main() ... Then, the leftmost * actually invokes the Deref trait, because String ...
確定! 回上一頁