Skip to content

Commit 56ef6ec

Browse files
committed
Change to is_some
1 parent b72fc3b commit 56ef6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/frame.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ impl Frame {
861861
Ok(None)
862862
}
863863
bytecode::Instruction::PopException {} => {
864-
assert!(!vm.pop_exception().is_none());
864+
assert!(vm.pop_exception().is_some());
865865
Ok(None)
866866
}
867867
}

0 commit comments

Comments
 (0)