mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Change to is_some
This commit is contained in:
@@ -861,7 +861,7 @@ impl Frame {
|
||||
Ok(None)
|
||||
}
|
||||
bytecode::Instruction::PopException {} => {
|
||||
assert!(!vm.pop_exception().is_none());
|
||||
assert!(vm.pop_exception().is_some());
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user