diff options
author | Brandon <[email protected]> | 2021-03-24 07:47:55 +0000 |
---|---|---|
committer | Brandon <[email protected]> | 2021-03-24 07:47:55 +0000 |
commit | 903a2e98f93df87af19375e951c56e7c285989d4 (patch) | |
tree | ffa9471abcf322034a52b6a952d44b3d93a525fd /crates/hir_expand/src/lib.rs | |
parent | 0d063b8d212dd6c54da0aa8608154c980107bd07 (diff) |
Clean up implementation
Diffstat (limited to 'crates/hir_expand/src/lib.rs')
-rw-r--r-- | crates/hir_expand/src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/hir_expand/src/lib.rs b/crates/hir_expand/src/lib.rs index d7391ebad..b8045fda9 100644 --- a/crates/hir_expand/src/lib.rs +++ b/crates/hir_expand/src/lib.rs | |||
@@ -207,13 +207,6 @@ impl HirFileId { | |||
207 | } | 207 | } |
208 | false | 208 | false |
209 | } | 209 | } |
210 | |||
211 | pub fn is_macro_file(&self) -> bool { | ||
212 | match self.0 { | ||
213 | HirFileIdRepr::MacroFile(_) => true, | ||
214 | HirFileIdRepr::FileId(_) => false, | ||
215 | } | ||
216 | } | ||
217 | } | 210 | } |
218 | 211 | ||
219 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 212 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |