mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(semantic)!: remove SymbolTable::iter_rev (#5620)
#5615 removed the only usage of this method, so it's now dead code.
This commit is contained in:
parent
37e922c00f
commit
96a15526aa
1 changed files with 0 additions and 4 deletions
|
|
@ -61,10 +61,6 @@ impl SymbolTable {
|
|||
self.spans.iter_enumerated().map(|(symbol_id, _)| symbol_id)
|
||||
}
|
||||
|
||||
pub fn iter_rev(&self) -> impl Iterator<Item = SymbolId> + '_ {
|
||||
self.spans.iter_enumerated().rev().map(|(symbol_id, _)| symbol_id)
|
||||
}
|
||||
|
||||
pub fn get_symbol_id_from_span(&self, span: Span) -> Option<SymbolId> {
|
||||
self.spans
|
||||
.iter_enumerated()
|
||||
|
|
|
|||
Loading…
Reference in a new issue