Use the more-asserts crate in more places.
This provides assert_le, assert_lt, and so on, which can print the values of the operands.
This commit is contained in:
@@ -185,7 +185,7 @@ impl CodeMemory {
|
||||
if previous.0.len() > 0 {
|
||||
self.mmaps.push(previous);
|
||||
} else {
|
||||
assert!(previous.1.len() == 0);
|
||||
assert_eq!(previous.1.len(), 0);
|
||||
}
|
||||
|
||||
self.position = 0;
|
||||
|
||||
Reference in New Issue
Block a user