From 903a2e98f93df87af19375e951c56e7c285989d4 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 24 Mar 2021 00:47:55 -0700 Subject: Clean up implementation --- crates/hir_expand/src/lib.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'crates/hir_expand/src') 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 { } false } - - pub fn is_macro_file(&self) -> bool { - match self.0 { - HirFileIdRepr::MacroFile(_) => true, - HirFileIdRepr::FileId(_) => false, - } - } } #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] -- cgit v1.2.3