From bd9708326829842c70326b7f85dabbaa3d365a2d Mon Sep 17 00:00:00 2001 From: Mark Thom Date: Thu, 11 Feb 2021 18:51:21 -0700 Subject: [PATCH] remove unused is_internal function from indexing.rs --- src/indexing.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/indexing.rs b/src/indexing.rs index 6e1cdc85..49a3afdf 100644 --- a/src/indexing.rs +++ b/src/indexing.rs @@ -22,17 +22,6 @@ pub enum IndexingCodePtr { Internal(usize), // the index points into the indexing instruction prelude. } -impl IndexingCodePtr { - #[inline] - fn is_internal(self) -> bool { - if let IndexingCodePtr::Internal(_) = self { - true - } else { - false - } - } -} - #[derive(Debug, Clone, Copy)] enum OptArgIndexKeyType { Structure, -- 2.54.0