mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -804,7 +804,7 @@ impl LineBreaker {
|
|||
self.work_list.push_front(cur_fragment);
|
||||
for fragment_index in (last_known_line_breaking_opportunity.get()..
|
||||
self.pending_line.range.end().get()).rev() {
|
||||
debug_assert!(fragment_index == (self.new_fragments.len() as isize) - 1);
|
||||
debug_assert_eq!(fragment_index, (self.new_fragments.len() as isize) - 1);
|
||||
self.work_list.push_front(self.new_fragments.pop().unwrap());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue