For types which impl Deref , you should be able to in most cases use & and let deref coersion handle the rest (e.g. &String to &str ). Upvote 54
確定! 回上一頁