diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 14bc61c4148..466a254237d 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -740,7 +740,7 @@ impl<'a, 'b> FlowConstructor<'a, 'b> { float::none => { FlowConstructionResult(wrapper_flow, abs_descendants) } - float_kind => { + _ => { let float_kind = FloatKind::from_property(float_value); let float_flow = box BlockFlow::float_from_node(self, node, float_kind) as Box; let mut float_flow = FlowRef::new(float_flow);