diff --git a/src/uu/pr/src/pr.rs b/src/uu/pr/src/pr.rs index aba71c341..41bf5d416 100644 --- a/src/uu/pr/src/pr.rs +++ b/src/uu/pr/src/pr.rs @@ -956,7 +956,7 @@ fn mpr(paths: &[&str], options: &OutputOptions) -> Result { 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();