revert is_undefined back to ref match, re: #44

This commit is contained in:
Mark Thom
2018-08-22 18:24:49 -06:00
parent f861b7a80e
commit ddf5593e44

View File

@@ -1575,7 +1575,7 @@ impl CodeIndex {
pub fn is_undefined(&self) -> bool {
let index_ptr = &self.0.borrow().0;
if let IndexPtr::Undefined = index_ptr {
if let &IndexPtr::Undefined = index_ptr {
true
} else {
false