Rust 1.95 (#55104)
Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Closes #ISSUE Release Notes: - N/A
This commit is contained in:
1 parent
dc327f4f95
commit
0438bf5268
35 files changed
+72
-90
No files matched your search
@@ -2955,7 +2955,7 @@ impl ReferenceMultibuffer {
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
new_ranges.sort_by(|l, r| l.context.start.cmp(&r.context.start));
|
||||
new_ranges.sort_by_key(|nr| nr.context.start);
|
||||
|
||||
self.set_excerpts(
|
||||
path.unwrap(),
|
||||
@@ -3899,7 +3899,7 @@ fn mutate_excerpt_ranges(
|
||||
}
|
||||
|
||||
existing_ranges.extend(ranges_to_add);
|
||||
existing_ranges.sort_by(|l, r| l.start.cmp(&r.start));
|
||||
existing_ranges.sort_by_key(|r| r.start);
|
||||
}
|
||||
|
||||
fn check_multibuffer(
|
||||
|
||||
Reference in new issue
Block a user