style: Fix formatting of recent changes.

This commit is contained in:
Emilio Cobos Álvarez 2019-08-15 15:41:34 +02:00
parent cea6966fd2
commit 4d8fc4b8f7
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
9 changed files with 157 additions and 160 deletions

View file

@ -12,7 +12,7 @@ use crate::values::computed::text::TextOverflow as ComputedTextOverflow;
use crate::values::computed::{Context, ToComputedValue};
use crate::values::generics::text::InitialLetter as GenericInitialLetter;
use crate::values::generics::text::LineHeight as GenericLineHeight;
use crate::values::generics::text::{Spacing, GenericTextDecorationLength};
use crate::values::generics::text::{GenericTextDecorationLength, Spacing};
use crate::values::specified::length::NonNegativeLengthPercentage;
use crate::values::specified::length::{FontRelativeLength, Length};
use crate::values::specified::length::{LengthPercentage, NoCalcLength};
@ -1053,6 +1053,6 @@ impl TextDecorationLength {
/// Whether this is the `Auto` value.
#[inline]
pub fn is_auto(&self) -> bool {
matches!(*self, GenericTextDecorationLength::Auto)
matches!(*self, GenericTextDecorationLength::Auto)
}
}