selectors: Indent two function declarations.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-24 20:40:38 +01:00
parent 7ab4b21bc3
commit adf1c9fcfd
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -92,15 +92,17 @@ pub trait Element: Sized + Clone + Debug {
None None
} }
fn has_id(&self, fn has_id(
&self,
id: &<Self::Impl as SelectorImpl>::Identifier, id: &<Self::Impl as SelectorImpl>::Identifier,
case_sensitivity: CaseSensitivity) case_sensitivity: CaseSensitivity,
-> bool; ) -> bool;
fn has_class(&self, fn has_class(
&self,
name: &<Self::Impl as SelectorImpl>::ClassName, name: &<Self::Impl as SelectorImpl>::ClassName,
case_sensitivity: CaseSensitivity) case_sensitivity: CaseSensitivity,
-> bool; ) -> bool;
/// Returns whether this element matches `:empty`. /// Returns whether this element matches `:empty`.
/// ///