pass by value fn sum (a: u16, b: u16) -> u16 { a + b } sum(2, 1) // the result ... The method to_owned is used to convert a raw string to an object string.
確定! 回上一頁