chore: Fix violations of elided_named_lifetimes (#18330)

I compile Zed from nightly build pretty often and I've noticed that
we're getting a few hits on new rustc lint:
https://github.com/rust-lang/rust/pull/129207

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2024-09-25 12:27:57 +02:00
committed by GitHub
parent 9d197ddc99
commit a6cb17fb51
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ impl CreaseSnapshot {
&'a self,
range: Range<MultiBufferRow>,
snapshot: &'a MultiBufferSnapshot,
) -> impl '_ + Iterator<Item = &'a Crease> {
) -> impl 'a + Iterator<Item = &'a Crease> {
let start = snapshot.anchor_before(Point::new(range.start.0, 0));
let mut cursor = self.creases.cursor::<ItemSummary>(snapshot);
cursor.seek(&start, Bias::Left, snapshot);