From 4d0bef0ac3d31a7ea5933b2fa8bc2118d0452ea9 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Mon, 9 Sep 2024 05:02:24 +0200 Subject: [PATCH] Remove unused imports (#33371) Signed-off-by: Oriol Brufau --- components/layout_2020/flexbox/layout.rs | 2 +- components/layout_2020/flexbox/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/layout_2020/flexbox/layout.rs b/components/layout_2020/flexbox/layout.rs index 3374844a32c..a1feb4f711c 100644 --- a/components/layout_2020/flexbox/layout.rs +++ b/components/layout_2020/flexbox/layout.rs @@ -19,7 +19,7 @@ use style::values::computed::length::Size; use style::values::computed::Length; use style::values::generics::flex::GenericFlexBasis as FlexBasis; use style::values::generics::length::{GenericLengthPercentageOrAuto, LengthPercentageOrNormal}; -use style::values::specified::align::{AlignFlags, AxisDirection}; +use style::values::specified::align::AlignFlags; use style::Zero; use super::geom::{FlexAxis, FlexRelativeRect, FlexRelativeSides, FlexRelativeVec2}; diff --git a/components/layout_2020/flexbox/mod.rs b/components/layout_2020/flexbox/mod.rs index d7005fa357b..e6aa46c8104 100644 --- a/components/layout_2020/flexbox/mod.rs +++ b/components/layout_2020/flexbox/mod.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -use geom::{FlexAxis, FlexRelativeVec2, MainStartCrossStart}; +use geom::{FlexAxis, MainStartCrossStart}; use serde::Serialize; use servo_arc::Arc as ServoArc; use style::logical_geometry::WritingMode; @@ -11,7 +11,7 @@ use style::properties::longhands::flex_direction::computed_value::T as FlexDirec use style::properties::longhands::flex_wrap::computed_value::T as FlexWrap; use style::properties::ComputedValues; use style::values::computed::{AlignContent, JustifyContent}; -use style::values::specified::align::{AlignFlags, AxisDirection}; +use style::values::specified::align::AlignFlags; use crate::cell::ArcRefCell; use crate::formatting_contexts::IndependentFormattingContext;