aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r--components/layout/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs
index e4463072b32..b0bd785ac3a 100644
--- a/components/layout/block.rs
+++ b/components/layout/block.rs
@@ -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()");
}