style: Reformat Rule::new.

This commit is contained in:
Emilio Cobos Álvarez 2017-10-14 11:34:18 +02:00
parent 240c05f13b
commit 6a5576085c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -2309,12 +2309,12 @@ impl Rule {
}
/// Creates a new Rule.
pub fn new(selector: Selector<SelectorImpl>,
hashes: AncestorHashes,
style_rule: Arc<Locked<StyleRule>>,
source_order: u32)
-> Self
{
pub fn new(
selector: Selector<SelectorImpl>,
hashes: AncestorHashes,
style_rule: Arc<Locked<StyleRule>>,
source_order: u32,
) -> Self {
Rule {
selector: selector,
hashes: hashes,