mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 12:48:38 +00:00
refactor(semantic): fix lint warning in nightly (#6110)
Fix a lint warning which you only get on nightly (so appears when running Miri).
This commit is contained in:
parent
e2c5baf868
commit
2090fce4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ impl<'a> JSDocFinder<'a> {
|
||||||
self.attached.get(&span.start).cloned()
|
self.attached.get(&span.start).cloned()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn iter_all<'b>(&'b self) -> impl Iterator<Item = &JSDoc<'a>> + 'b {
|
pub fn iter_all<'b>(&'b self) -> impl Iterator<Item = &'b JSDoc<'a>> + 'b {
|
||||||
self.attached.values().flatten().chain(self.not_attached.iter())
|
self.attached.values().flatten().chain(self.not_attached.iter())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue