diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-05-23 19:49:53 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-05-24 00:01:49 -0400 |
commit | 8e3f4bba85b9b246fb7da8ea0994fb0160578c1b (patch) | |
tree | 2c66c695c97d638df81aeb40ac54ccc6d0cc8cb9 /components/style/legacy.rs | |
parent | 7561f7b83f27811683c1e724d75a935573a72813 (diff) | |
download | servo-8e3f4bba85b9b246fb7da8ea0994fb0160578c1b.tar.gz servo-8e3f4bba85b9b246fb7da8ea0994fb0160578c1b.zip |
Reduce max line length from 150 to 120 characters
Part of https://github.com/servo/servo/issues/6041
Diffstat (limited to 'components/style/legacy.rs')
-rw-r--r-- | components/style/legacy.rs | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/components/style/legacy.rs b/components/style/legacy.rs index 4d5123ff187..bf8e42c228d 100644 --- a/components/style/legacy.rs +++ b/components/style/legacy.rs @@ -33,24 +33,18 @@ pub trait PresentationalHintSynthesis { /// you don't, you risk strange random nondeterministic failures due to false positives in /// style sharing. fn synthesize_presentational_hints_for_legacy_attributes<'a,N,V>( - &self, - node: &N, - matching_rules_list: &mut V, - shareable: &mut bool) - where N: TNode<'a>, - N::Element: TElementAttributes<'a>, - V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>>; + &self, node: &N, matching_rules_list: &mut V, shareable: &mut bool) + where N: TNode<'a>, + N::Element: TElementAttributes<'a>, + V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>>; } impl PresentationalHintSynthesis for Stylist { fn synthesize_presentational_hints_for_legacy_attributes<'a,N,V>( - &self, - node: &N, - matching_rules_list: &mut V, - shareable: &mut bool) - where N: TNode<'a>, - N::Element: TElementAttributes<'a>, - V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>> { + &self, node: &N, matching_rules_list: &mut V, shareable: &mut bool) + where N: TNode<'a>, + N::Element: TElementAttributes<'a>, + V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>> { let element = node.as_element(); let length = matching_rules_list.len(); |