diff options
author | Aleksey Kladov <[email protected]> | 2019-01-26 19:43:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-26 19:43:07 +0000 |
commit | ae97a45c355cbfc0aa61c09ea7cb93373855b9ff (patch) | |
tree | 77d8aed05e40d88797727b37447f382db80dd119 | |
parent | 2d337c88b07b6a67b24f4bff4d72025d9ea412a5 (diff) |
remove dead code
-rw-r--r-- | crates/ra_hir/src/ids.rs | 4 |
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 | ||
376 | impl std::ops::Index<SourceFileItemId> for SourceFileItems { | 372 | impl std::ops::Index<SourceFileItemId> for SourceFileItems { |