generalize has_null_ball
This commit is contained in:
@@ -1148,7 +1148,7 @@ impl MachineState {
|
|||||||
|
|
||||||
fn has_null_ball(&self) -> bool
|
fn has_null_ball(&self) -> bool
|
||||||
{
|
{
|
||||||
if let &Addr::Con(Constant::UInt64(0)) = &self.ball {
|
if let &Addr::Con(Constant::UInt64(_)) = &self.ball {
|
||||||
true
|
true
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|||||||
Reference in New Issue
Block a user