mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Clippy: fix clone_on_copy in components\script\dom\cryptokey (#33730)
Signed-off-by: PS Adavize <siyakapromise@gmail.com>
This commit is contained in:
parent
609a6ef0f4
commit
e8e51b1373
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ impl CryptoKey {
|
|||
impl CryptoKeyMethods for CryptoKey {
|
||||
/// <https://w3c.github.io/webcrypto/#cryptokey-interface-members>
|
||||
fn Type(&self) -> KeyType {
|
||||
self.key_type.clone()
|
||||
self.key_type
|
||||
}
|
||||
|
||||
/// <https://w3c.github.io/webcrypto/#cryptokey-interface-members>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue