mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
remove dead code
This commit is contained in:
parent
2d337c88b0
commit
ae97a45c35
1 changed files with 0 additions and 4 deletions
|
@ -367,10 +367,6 @@ impl SourceFileItems {
|
|||
self.arena.iter().map(|(_id, i)| i).collect::<Vec<_>>(),
|
||||
);
|
||||
}
|
||||
pub fn id_of_parse(&self) -> SourceFileItemId {
|
||||
let (id, _syntax) = self.arena.iter().next().unwrap();
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
impl std::ops::Index<SourceFileItemId> for SourceFileItems {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue