aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-26 19:43:07 +0000
committerAleksey Kladov <[email protected]>2019-01-26 19:43:07 +0000
commitae97a45c355cbfc0aa61c09ea7cb93373855b9ff (patch)
tree77d8aed05e40d88797727b37447f382db80dd119 /crates/ra_hir
parent2d337c88b07b6a67b24f4bff4d72025d9ea412a5 (diff)
remove dead code
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/ids.rs4
1 files changed, 0 insertions, 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 {
367 self.arena.iter().map(|(_id, i)| i).collect::<Vec<_>>(), 367 self.arena.iter().map(|(_id, i)| i).collect::<Vec<_>>(),
368 ); 368 );
369 } 369 }
370 pub fn id_of_parse(&self) -> SourceFileItemId {
371 let (id, _syntax) = self.arena.iter().next().unwrap();
372 id
373 }
374} 370}
375 371
376impl std::ops::Index<SourceFileItemId> for SourceFileItems { 372impl std::ops::Index<SourceFileItemId> for SourceFileItems {