Your attempt #1 is almost correct, you just have to move to_owned() to the first line: fn shuffle<T>(vec: &mut [T]) { // .
確定! 回上一頁