]> Repositorios git - scryer-prolog.git/commitdiff
remove unused is_internal function from indexing.rs
authorMark Thom <[email protected]>
Fri, 12 Feb 2021 01:51:21 +0000 (18:51 -0700)
committerMark Thom <[email protected]>
Fri, 12 Feb 2021 01:51:21 +0000 (18:51 -0700)
src/indexing.rs

index 6e1cdc85407ebcd0a0d9e1291ce4a48995f9ec6c..49a3afdf45488c16c09db4afc7871ac9220783d4 100644 (file)
@@ -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,