Rollup merge of #45339 - xfix:patch-4, r=steveklabnik
Update array documentation for Clone trait changes Just a note, for this to work, `T` doesn't have to `Copy`, `Clone` is sufficient. For instance, the following works. ```rust fn x(a: &[String; 100]) -> [String; 100] { a.clone() } ```
Showing
想要评论请 注册 或 登录