aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/error_reporting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/error_reporting.rs')
-rw-r--r--components/style/error_reporting.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/components/style/error_reporting.rs b/components/style/error_reporting.rs
index 9d54f62e318..04677c26041 100644
--- a/components/style/error_reporting.rs
+++ b/components/style/error_reporting.rs
@@ -6,18 +6,22 @@
#![deny(missing_docs)]
+use crate::selector_parser::SelectorImpl;
use crate::stylesheets::UrlExtraData;
use cssparser::{BasicParseErrorKind, ParseErrorKind, SourceLocation, Token};
+use selectors::SelectorList;
use std::fmt;
use style_traits::ParseError;
-use crate::selector_parser::{SelectorImpl};
-use selectors::SelectorList;
/// Errors that can be encountered while parsing CSS.
#[derive(Debug)]
pub enum ContextualParseError<'a> {
/// A property declaration was not recognized.
- UnsupportedPropertyDeclaration(&'a str, ParseError<'a>, Option<&'a SelectorList<SelectorImpl>>),
+ UnsupportedPropertyDeclaration(
+ &'a str,
+ ParseError<'a>,
+ Option<&'a SelectorList<SelectorImpl>>,
+ ),
/// A font face descriptor was not recognized.
UnsupportedFontFaceDescriptor(&'a str, ParseError<'a>),
/// A font feature values descriptor was not recognized.