Fix two typo

This commit is contained in:
LoveSy 2023-06-13 16:18:46 +08:00 committed by John Wu
parent 037f46f7f0
commit 7e8e013832
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
#![feature(format_args_nl)]
#![feature(btree_drain_filter)]
#![feature(iter_collect_into)]
extern crate core;

View File

@ -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 {