mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-16 01:25:25 +00:00
Use intersects
This commit is contained in:
parent
7cdbb5d7b6
commit
7b9e7e0443
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ impl Symbol {
|
|||
}
|
||||
|
||||
pub fn is_bound(&self) -> bool {
|
||||
!(self.flags & SymbolFlags::BOUND).is_empty()
|
||||
self.flags.intersects(SymbolFlags::BOUND)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue