Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Jul 16, 2024
1 parent e046cfe commit b541639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dom/src/stylo_to_taffy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ mod stylo {
pub(crate) use style::computed_values::flex_direction::T as FlexDirection;
pub(crate) use style::computed_values::flex_wrap::T as FlexWrap;
pub(crate) use style::computed_values::grid_auto_flow::T as GridAutoFlow;
pub(crate) use style::properties::generated::longhands::box_sizing::computed_value::T as BoxSizing;
pub(crate) use style::properties::longhands::aspect_ratio::computed_value::T as AspectRatio;
pub(crate) use style::properties::longhands::position::computed_value::T as Position;
pub(crate) use style::properties::generated::longhands::box_sizing::computed_value::T as BoxSizing;
pub(crate) use style::properties::style_structs::{Margin, Padding};
pub(crate) use style::values::computed::GridLine;
pub(crate) use style::values::computed::GridTemplateComponent;
Expand Down Expand Up @@ -105,7 +105,7 @@ pub(crate) fn border(
}
}

pub (crate) fn box_sizing(input: stylo::BoxSizing) -> taffy::BoxSizing {
pub(crate) fn box_sizing(input: stylo::BoxSizing) -> taffy::BoxSizing {
match input {
stylo::BoxSizing::BorderBox => taffy::BoxSizing::BorderBox,
stylo::BoxSizing::ContentBox => taffy::BoxSizing::ContentBox,
Expand Down

0 comments on commit b541639

Please sign in to comment.