Skip to content

Commit dd83308

Browse files
committed
Use intersects
1 parent a5ef816 commit dd83308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/codegen/src/symboltable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl Symbol {
154154
}
155155

156156
pub fn is_bound(&self) -> bool {
157-
!(self.flags & SymbolFlags::BOUND).is_empty()
157+
self.flags.intersects(SymbolFlags::BOUND)
158158
}
159159
}
160160

0 commit comments

Comments
 (0)