mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
||||
}
|
||||
|
||||
fn has_id(&self,
|
||||
id: &<Self::Impl as SelectorImpl>::Identifier,
|
||||
case_sensitivity: CaseSensitivity)
|
||||
-> bool;
|
||||
fn has_id(
|
||||
&self,
|
||||
id: &<Self::Impl as SelectorImpl>::Identifier,
|
||||
case_sensitivity: CaseSensitivity,
|
||||
) -> bool;
|
||||
|
||||
fn has_class(&self,
|
||||
name: &<Self::Impl as SelectorImpl>::ClassName,
|
||||
case_sensitivity: CaseSensitivity)
|
||||
-> bool;
|
||||
fn has_class(
|
||||
&self,
|
||||
name: &<Self::Impl as SelectorImpl>::ClassName,
|
||||
case_sensitivity: CaseSensitivity,
|
||||
) -> bool;
|
||||
|
||||
/// Returns whether this element matches `:empty`.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue