mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use specific assertion for layout multicol
This commit is contained in:
parent
da4a4475de
commit
bb7964a4bb
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ impl Flow for MulticolFlow {
|
|||
});
|
||||
|
||||
// Before layout, everything is in a single "column"
|
||||
assert!(self.block_flow.base.children.len() == 1);
|
||||
assert_eq!(self.block_flow.base.children.len(), 1);
|
||||
let mut column = self.block_flow.base.children.pop_front_arc().unwrap();
|
||||
|
||||
// Pretend there is no children for this:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue