aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/block.rs
diff options
context:
space:
mode:
authoreri <eri@inventati.org>2024-03-11 11:24:36 +0100
committerGitHub <noreply@github.com>2024-03-11 10:24:36 +0000
commita6e25d555beec2c454c03f9ca0f5c4047d538b2d (patch)
tree2bf5504d7b8f3733072d39c6a6858f14694a0ca3 /components/layout/block.rs
parent7f1ef4c7fe7d68b08894eb0e944448505178f79d (diff)
downloadservo-a6e25d555beec2c454c03f9ca0f5c4047d538b2d.tar.gz
servo-a6e25d555beec2c454c03f9ca0f5c4047d538b2d.zip
clippy: Fix warnings in `components/layout` (#31612)
* clippy: fix warnings in components/layout * fix: formatting
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()");
}