]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/miri/src/range_map.rs
Rollup merge of #106836 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / src / tools / miri / src / range_map.rs
index c8ff06a36652d4d02ed429f4278c699d44673b30..62198061827adb3f1ab3fd1527586102705cdc69 100644 (file)
@@ -219,7 +219,6 @@ mod tests {
     /// Query the map at every offset in the range and collect the results.
     fn to_vec<T: Copy>(map: &RangeMap<T>, offset: u64, len: u64) -> Vec<T> {
         (offset..offset + len)
-            .into_iter()
             .map(|i| {
                 map.iter(Size::from_bytes(i), Size::from_bytes(1)).next().map(|(_, &t)| t).unwrap()
             })