diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-01-03 19:54:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-03 18:54:44 +0000 |
commit | 621ddd749c7655a93547f52a438f2e2941d7df15 (patch) | |
tree | da88d5b18302c99f543809063ba7dfd73645d8f4 /components/layout/table_wrapper.rs | |
parent | 92026cb094ed274037c48831f1bad59430e199af (diff) | |
download | servo-621ddd749c7655a93547f52a438f2e2941d7df15.tar.gz servo-621ddd749c7655a93547f52a438f2e2941d7df15.zip |
Elide lifetimes where possible after rustup (#34824)
The new version of rust allows us to elide some lifetimes and clippy is
now complaining about this. This change elides them where possible and
removes the clippy exceptions.
Fixes #34804.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r-- | components/layout/table_wrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs index 3072b8f8573..21313e47c4e 100644 --- a/components/layout/table_wrapper.rs +++ b/components/layout/table_wrapper.rs @@ -669,7 +669,7 @@ impl AutoLayoutCandidateGuess { } } -impl<'a> Add for &'a AutoLayoutCandidateGuess { +impl Add for &AutoLayoutCandidateGuess { type Output = AutoLayoutCandidateGuess; #[inline] fn add(self, other: &AutoLayoutCandidateGuess) -> AutoLayoutCandidateGuess { |