From ae97a45c355cbfc0aa61c09ea7cb93373855b9ff Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 26 Jan 2019 22:43:07 +0300 Subject: remove dead code --- crates/ra_hir/src/ids.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/ra_hir/src/ids.rs b/crates/ra_hir/src/ids.rs index 7dd4b540e..631f6f6a1 100644 --- a/crates/ra_hir/src/ids.rs +++ b/crates/ra_hir/src/ids.rs @@ -367,10 +367,6 @@ impl SourceFileItems { self.arena.iter().map(|(_id, i)| i).collect::>(), ); } - pub fn id_of_parse(&self) -> SourceFileItemId { - let (id, _syntax) = self.arena.iter().next().unwrap(); - id - } } impl std::ops::Index for SourceFileItems { -- cgit v1.2.3