Consolidate for_each implementation into Rust

This commit is contained in:
topjohnwu
2025-08-25 01:31:47 -07:00
committed by John Wu
parent 78f5cd55c7
commit e91fc75d86
12 changed files with 103 additions and 103 deletions
+1 -1
View File
@@ -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
});