diff --git a/native/src/boot/lib.rs b/native/src/boot/lib.rs index d1bbf5acf..f892c2b9f 100644 --- a/native/src/boot/lib.rs +++ b/native/src/boot/lib.rs @@ -1,6 +1,5 @@ #![feature(format_args_nl)] #![feature(btree_drain_filter)] -#![feature(iter_collect_into)] extern crate core; diff --git a/native/src/boot/ramdisk.rs b/native/src/boot/ramdisk.rs index 2ee849e91..f0e5d4121 100644 --- a/native/src/boot/ramdisk.rs +++ b/native/src/boot/ramdisk.rs @@ -138,7 +138,7 @@ impl MagiskCpio for Cpio { o.rm(".backup", true); self.rm(".backup", true); - let mut lhs = o.entries.drain_filter(|_, _| true).peekable(); + let mut lhs = o.entries.into_iter().peekable(); let mut rhs = self.entries.iter().peekable(); loop {