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;