mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-06 07:20:47 -05:00
Consolidate for_each implementation into Rust
This commit is contained in:
@@ -287,7 +287,7 @@ impl SePolicy {
|
||||
}
|
||||
|
||||
fn load_rules_from_reader<T: BufRead>(&mut self, reader: &mut T) {
|
||||
reader.foreach_lines(|line| {
|
||||
reader.for_each_line(|line| {
|
||||
self.parse_statement(line);
|
||||
true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user