mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Reformat Rule::new.
This commit is contained in:
parent
240c05f13b
commit
6a5576085c
1 changed files with 6 additions and 6 deletions
|
@ -2309,12 +2309,12 @@ impl Rule {
|
|||
}
|
||||
|
||||
/// Creates a new Rule.
|
||||
pub fn new(selector: Selector<SelectorImpl>,
|
||||
pub fn new(
|
||||
selector: Selector<SelectorImpl>,
|
||||
hashes: AncestorHashes,
|
||||
style_rule: Arc<Locked<StyleRule>>,
|
||||
source_order: u32)
|
||||
-> Self
|
||||
{
|
||||
source_order: u32,
|
||||
) -> Self {
|
||||
Rule {
|
||||
selector: selector,
|
||||
hashes: hashes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue