mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Rustfmt recent changes.
This commit is contained in:
parent
1754c832d8
commit
071ce6f345
22 changed files with 210 additions and 163 deletions
|
@ -1767,12 +1767,19 @@ impl Drop for StrongRuleNode {
|
|||
crash_str.push(b'\n');
|
||||
}
|
||||
children.each(|child| {
|
||||
(*child.ptr()).source.as_ref().unwrap().dump_unchecked(&mut crash_str);
|
||||
(*child.ptr())
|
||||
.source
|
||||
.as_ref()
|
||||
.unwrap()
|
||||
.dump_unchecked(&mut crash_str);
|
||||
crash_str.push(b'\n');
|
||||
});
|
||||
}
|
||||
|
||||
panic!("Children left in the rule tree on drop: {}", String::from_utf8_lossy(&crash_str).trim());
|
||||
panic!(
|
||||
"Children left in the rule tree on drop: {}",
|
||||
String::from_utf8_lossy(&crash_str).trim()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue