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:
parent
dd5a070ecf
commit
cb160eebe9
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue