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(
id: &<Self::Impl as SelectorImpl>::Identifier, &self,
case_sensitivity: CaseSensitivity) id: &<Self::Impl as SelectorImpl>::Identifier,
-> bool; case_sensitivity: CaseSensitivity,
) -> bool;
fn has_class(&self, fn has_class(
name: &<Self::Impl as SelectorImpl>::ClassName, &self,
case_sensitivity: CaseSensitivity) name: &<Self::Impl as SelectorImpl>::ClassName,
-> bool; case_sensitivity: CaseSensitivity,
) -> bool;
/// Returns whether this element matches `:empty`. /// Returns whether this element matches `:empty`.
/// ///