remove dead code

This commit is contained in:
Aleksey Kladov 2019-01-26 22:43:07 +03:00
parent 2d337c88b0
commit ae97a45c35

View File

@ -367,10 +367,6 @@ pub(crate) fn id_of_unchecked(&self, item: &SyntaxNode) -> SourceFileItemId {
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 {