chore: Fix warnings for Rust 1.89 (#32378)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-06-09 13:11:57 +02:00
committed by GitHub
parent 4ff41ba62e
commit 72bcb0beb7
32 changed files with 102 additions and 95 deletions
+1 -1
View File
@@ -2049,7 +2049,7 @@ impl BufferSnapshot {
self.visible_text.reversed_chars_at(offset)
}
pub fn reversed_chunks_in_range<T: ToOffset>(&self, range: Range<T>) -> rope::Chunks {
pub fn reversed_chunks_in_range<T: ToOffset>(&self, range: Range<T>) -> rope::Chunks<'_> {
let range = range.start.to_offset(self)..range.end.to_offset(self);
self.visible_text.reversed_chunks_in_range(range)
}