diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-05 13:11:33 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 08:54:34 +0200 |
commit | 06a1d04ca61634a14397be9d751b1e7520ce4f41 (patch) | |
tree | 4e3f0f753250766a085a9331712774d39bdffac7 /components/util/str.rs | |
parent | 1bc94c132e6820293c2178bf95991518b1e8a677 (diff) | |
download | servo-06a1d04ca61634a14397be9d751b1e7520ce4f41.tar.gz servo-06a1d04ca61634a14397be9d751b1e7520ce4f41.zip |
Move LengthOrPercentageOrAuto to style::attr.
Diffstat (limited to 'components/util/str.rs')
-rw-r--r-- | components/util/str.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/components/util/str.rs b/components/util/str.rs index 7df67e1b421..8ea48f2a3d0 100644 --- a/components/util/str.rs +++ b/components/util/str.rs @@ -2,7 +2,6 @@ * 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 app_units::Au; use num_traits::ToPrimitive; use std::convert::AsRef; use std::iter::{Filter, Peekable}; @@ -118,13 +117,6 @@ pub fn read_exponent<I: Iterator<Item=char>>(mut iter: Peekable<I>) -> Option<i3 } } -#[derive(Clone, Copy, Debug, HeapSizeOf, PartialEq)] -pub enum LengthOrPercentageOrAuto { - Auto, - Percentage(f32), - Length(Au), -} - #[derive(Clone, Eq, PartialEq, Hash, Debug, Deserialize, Serialize)] pub struct LowercaseString { inner: String, |