diff options
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. |