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/script/dom/htmlobjectelement.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/script/dom/htmlobjectelement.rs')
-rw-r--r-- | components/script/dom/htmlobjectelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlobjectelement.rs b/components/script/dom/htmlobjectelement.rs index 591a330ad40..32bf6aae815 100644 --- a/components/script/dom/htmlobjectelement.rs +++ b/components/script/dom/htmlobjectelement.rs @@ -73,7 +73,7 @@ trait ProcessDataURL { fn process_data_url(&self); } -impl<'a> ProcessDataURL for &'a HTMLObjectElement { +impl ProcessDataURL for &HTMLObjectElement { // Makes the local `data` member match the status of the `data` attribute and starts /// prefetching the image. This method must be called after `data` is changed. fn process_data_url(&self) { |