mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Change debug assertions to specific ones
This commit is contained in:
parent
2cf0077be1
commit
661d234c3c
23 changed files with 53 additions and 53 deletions
|
@ -1334,7 +1334,7 @@ impl TreeIterator {
|
|||
}
|
||||
self.depth -= 1;
|
||||
}
|
||||
debug_assert!(self.depth == 0);
|
||||
debug_assert_eq!(self.depth, 0);
|
||||
self.current = None;
|
||||
Some(current)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue