From e8e51b13735c2ff3e36b80743848dc7e92140731 Mon Sep 17 00:00:00 2001 From: Adavize Promise <128262752+cashall-0@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:04:57 +0100 Subject: [PATCH] Clippy: fix clone_on_copy in components\script\dom\cryptokey (#33730) Signed-off-by: PS Adavize --- components/script/dom/cryptokey.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/cryptokey.rs b/components/script/dom/cryptokey.rs index a9fd0471301..bf4b26b69c5 100644 --- a/components/script/dom/cryptokey.rs +++ b/components/script/dom/cryptokey.rs @@ -93,7 +93,7 @@ impl CryptoKey { impl CryptoKeyMethods for CryptoKey { /// fn Type(&self) -> KeyType { - self.key_type.clone() + self.key_type } ///