chore: Bump Rust version to 1.80 (#15186)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-07-25 22:48:42 +02:00 committed by GitHub
parent f291677d40
commit 0d5de88c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 43 additions and 67 deletions

View file

@ -44,7 +44,7 @@ impl SelectionsCollection {
buffer,
next_selection_id: 1,
line_mode: false,
disjoint: Arc::from([]),
disjoint: Arc::default(),
pending: Some(PendingSelection {
selection: Selection {
id: 0,
@ -398,7 +398,7 @@ impl<'a> MutableSelectionsCollection<'a> {
}
pub fn clear_disjoint(&mut self) {
self.collection.disjoint = Arc::from([]);
self.collection.disjoint = Arc::default();
}
pub fn delete(&mut self, selection_id: usize) {