From 76f616fd5a7dbb6c075f875e33cf66e2f855394f Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Thu, 1 Aug 2024 12:30:05 +1200 Subject: [PATCH] Implement FlexContainerStyle for Style as well as &Style --- src/style/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style/mod.rs b/src/style/mod.rs index 67d8e047a..71a6f608e 100644 --- a/src/style/mod.rs +++ b/src/style/mod.rs @@ -660,7 +660,7 @@ impl BlockContainerStyle for &'_ T { } #[cfg(feature = "flexbox")] -impl FlexboxContainerStyle for &Style { +impl FlexboxContainerStyle for Style { #[inline(always)] fn flex_direction(&self) -> FlexDirection { self.flex_direction