mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix warnings in components/layout
(#31612)
* clippy: fix warnings in components/layout * fix: formatting
This commit is contained in:
parent
7f1ef4c7fe
commit
a6e25d555b
17 changed files with 129 additions and 150 deletions
|
@ -1761,7 +1761,7 @@ impl BlockFlow {
|
|||
// If you remove the might_have_floats_in conditional, this will go off.
|
||||
// TODO(servo#30572) revert to debug_assert!() once underlying bug is fixed
|
||||
#[cfg(debug_assertions)]
|
||||
if !(!self.is_inline_flex_item()) {
|
||||
if self.is_inline_flex_item() {
|
||||
log::warn!("debug assertion failed! !self.is_inline_flex_item()");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue