... argument, it looks like this: fn some_func(arg: Option<&str>) { // some code } And you call it as follows: … - Selection from Rust Programming By Example [Book]
確定! 回上一頁