While greet() expects a String , apparently what we're passing to the function is something of type &str . The compiler even provides a hint ...
確定! 回上一頁