diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2023-09-11 21:16:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 19:16:54 +0000 |
commit | aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4 (patch) | |
tree | 68dec1a9d53f4ed564843a9580fba70bf90dbef1 /components/geometry/lib.rs | |
parent | 413da4ca69d3013528c09bbaf38629a72384372d (diff) | |
download | servo-aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4.tar.gz servo-aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4.zip |
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting
* Reformat all imports
Diffstat (limited to 'components/geometry/lib.rs')
-rw-r--r-- | components/geometry/lib.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/components/geometry/lib.rs b/components/geometry/lib.rs index a594a8613cd..54ccd67d109 100644 --- a/components/geometry/lib.rs +++ b/components/geometry/lib.rs @@ -2,13 +2,12 @@ * 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 std::f32; + use app_units::{Au, MAX_AU, MIN_AU}; -use euclid::{ - default::{Point2D, Rect, Size2D}, - Length, -}; +use euclid::default::{Point2D, Rect, Size2D}; +use euclid::Length; use malloc_size_of_derive::MallocSizeOf; -use std::f32; use webrender_api::units::{FramebufferPixel, LayoutPoint, LayoutRect, LayoutSize}; // Units for use with euclid::length and euclid::scale_factor. |