Skip to content

Commit

Permalink
style: Run rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Apr 18, 2020
1 parent b80d798 commit ee8e98b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions components/malloc_size_of/lib.rs
Expand Up @@ -748,9 +748,7 @@ where
Component::Slotted(ref selector) | Component::Host(Some(ref selector)) => {
selector.size_of(ops)
},
Component::Is(ref list) | Component::Where(ref list) => {
list.size_of(ops)
},
Component::Is(ref list) | Component::Where(ref list) => list.size_of(ops),
Component::PseudoElement(ref pseudo) => (*pseudo).size_of(ops),
Component::Combinator(..) |
Component::ExplicitAnyNamespace |
Expand Down
2 changes: 1 addition & 1 deletion components/style/gecko/selector_parser.rs
Expand Up @@ -14,8 +14,8 @@ use crate::string_cache::{Atom, Namespace, WeakAtom, WeakNamespace};
use crate::values::serialize_atom_identifier;
use cssparser::{BasicParseError, BasicParseErrorKind, Parser};
use cssparser::{CowRcStr, SourceLocation, ToCss, Token};
use selectors::parser::{self as selector_parser, Selector};
use selectors::parser::SelectorParseErrorKind;
use selectors::parser::{self as selector_parser, Selector};
use selectors::visitor::SelectorVisitor;
use selectors::SelectorList;
use std::fmt;
Expand Down
1 change: 0 additions & 1 deletion components/style/servo/selector_parser.rs
Expand Up @@ -324,7 +324,6 @@ impl ::selectors::parser::NonTSPseudoClass for NonTSPseudoClass {
}
}


impl ToCss for NonTSPseudoClass {
fn to_css<W>(&self, dest: &mut W) -> fmt::Result
where
Expand Down

0 comments on commit ee8e98b

Please sign in to comment.