mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
selectors: Indent two function declarations.
This commit is contained in:
parent
7ab4b21bc3
commit
adf1c9fcfd
1 changed files with 10 additions and 8 deletions
|
@ -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`.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue