]> git.lizzy.rs Git - rust.git/commit
Remove unsound TrustedRandomAccess implementations
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>
Tue, 1 Jun 2021 00:21:26 +0000 (02:21 +0200)
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>
Wed, 21 Jul 2021 12:37:23 +0000 (14:37 +0200)
commit1b66a799c7ef707d2cd4b325b654e69bf536c30f
treef5e24ee9a61aea5093946da3c1e1ccc9a2145ed1
parentcf932aa584f2ba1a1744f3ef0b21f14387276fb6
Remove unsound TrustedRandomAccess implementations

Removes the implementations that depend on the user-definable trait `Copy`.

Only fix regressions to ensure merge in 1.55: Does not modify `vec::IntoIter`.
library/alloc/src/collections/vec_deque/into_iter.rs
library/core/src/array/iter.rs