1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

pr: use chunk_by instead of deprecated group_by

This commit is contained in:
Daniel Hofstetter 2024-06-06 10:56:11 +02:00
parent dd5a070ecf
commit cb160eebe9

View file

@ -956,7 +956,7 @@ fn mpr(paths: &[&str], options: &OutputOptions) -> Result<i32, PrError> {
a.group_key < b.group_key
}
})
.group_by(|file_line| file_line.group_key);
.chunk_by(|file_line| file_line.group_key);
let start_page = options.start_page;
let mut lines = Vec::new();