This specifies that the reference on i32 in the Fn trait bound can have any lifetime. The following does not work: fn wrong_copy_if<'a, F>(slice: &[i32], ...
確定! 回上一頁