Change to is_some

This commit is contained in:
Aviv Palivoda
2019-04-29 20:08:15 +03:00
parent b72fc3bc9d
commit 56ef6ec5f8

View File

@@ -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)
}
}