diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2014-09-19 13:56:35 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2014-09-19 13:56:35 +0100 |
commit | 010d87b93ef9133a03426eac928b12477599055f (patch) | |
tree | d67e4a31f8d3e2354aeb87fc0c39fada39ed215c /components/layout/floats.rs | |
parent | 415bbaeb2e7a3e724d4edecd82b823d681d6a270 (diff) | |
download | servo-010d87b93ef9133a03426eac928b12477599055f.tar.gz servo-010d87b93ef9133a03426eac928b12477599055f.zip |
Remove min/max functions from util::geometry. Use std::cmp instead.
Diffstat (limited to 'components/layout/floats.rs')
-rw-r--r-- | components/layout/floats.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/floats.rs b/components/layout/floats.rs index 94017e6b3f7..72addbcc481 100644 --- a/components/layout/floats.rs +++ b/components/layout/floats.rs @@ -2,9 +2,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use servo_util::geometry::{Au, max, min}; +use servo_util::geometry::Au; use servo_util::logical_geometry::WritingMode; use servo_util::logical_geometry::{LogicalPoint, LogicalRect, LogicalSize}; +use std::cmp::{max, min}; use std::i32; use std::fmt; use style::computed_values::float; |