mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
style: Rustfmt servo/. r=zrhoffman
$ find servo -name '*.rs' | xargs rustup run nightly rustfmt Depends on D179380 Differential Revision: https://phabricator.services.mozilla.com/D179381
This commit is contained in:
parent
68cbe6833d
commit
ad72081ac8
70 changed files with 665 additions and 448 deletions
|
@ -385,8 +385,7 @@ where
|
|||
/// Finds the maximum specificity of elements in the list and returns it.
|
||||
pub(crate) fn selector_list_specificity_and_flags<'a, Impl: SelectorImpl>(
|
||||
itr: impl Iterator<Item = &'a Selector<Impl>>,
|
||||
) -> SpecificityAndFlags
|
||||
{
|
||||
) -> SpecificityAndFlags {
|
||||
let mut specificity = 0;
|
||||
let mut flags = SelectorFlags::empty();
|
||||
for selector in itr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue