diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-01-25 10:03:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 09:03:31 +0000 |
commit | 50f56affe35a5565f99226daeb29843246c32b69 (patch) | |
tree | 23a027edebdc2aae64bb37b4ecfd0f48639fa08c /components/layout_2020/traversal.rs | |
parent | 886f6c58d4cd149fe3238d668bd2f9fd5db78071 (diff) | |
download | servo-50f56affe35a5565f99226daeb29843246c32b69.tar.gz servo-50f56affe35a5565f99226daeb29843246c32b69.zip |
Lint layout_2020 with clippy (#31169)
cargo clippy --fix -p layout_2020 --allow-dirty --broken-code
Diffstat (limited to 'components/layout_2020/traversal.rs')
-rw-r--r-- | components/layout_2020/traversal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/traversal.rs b/components/layout_2020/traversal.rs index f5187a41916..318967d01f4 100644 --- a/components/layout_2020/traversal.rs +++ b/components/layout_2020/traversal.rs @@ -17,7 +17,7 @@ pub struct RecalcStyle<'a> { impl<'a> RecalcStyle<'a> { pub fn new(context: LayoutContext<'a>) -> Self { - RecalcStyle { context: context } + RecalcStyle { context } } pub fn context(&self) -> &LayoutContext<'a> { |