mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Lint layout_2020 with clippy (#31169)
cargo clippy --fix -p layout_2020 --allow-dirty --broken-code
This commit is contained in:
parent
886f6c58d4
commit
50f56affe3
30 changed files with 224 additions and 244 deletions
|
@ -114,6 +114,6 @@ impl Tag {
|
|||
Some(PseudoElement::After) => FragmentType::AfterPseudoContent,
|
||||
_ => FragmentType::FragmentBody,
|
||||
};
|
||||
combine_id_with_fragment_type(self.node.id() as usize, fragment_type) as u64
|
||||
combine_id_with_fragment_type(self.node.id(), fragment_type) as u64
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue