Use intersects

This commit is contained in:
yt2b 2022-11-28 20:48:03 +09:00
parent 7cdbb5d7b6
commit 7b9e7e0443

View file

@ -154,7 +154,7 @@ impl Symbol {
}
pub fn is_bound(&self) -> bool {
!(self.flags & SymbolFlags::BOUND).is_empty()
self.flags.intersects(SymbolFlags::BOUND)
}
}