Skip to content

Fix sending note to self as primary without secondary devices #1042

Fix sending note to self as primary without secondary devices

Fix sending note to self as primary without secondary devices #1042

GitHub Actions / clippy succeeded Oct 22, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 929 in src/sender.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `clone` on type `IdentityKey` which implements the `Copy` trait

warning: using `clone` on type `IdentityKey` which implements the `Copy` trait
   --> src/sender.rs:929:13
    |
929 |             self.aci_identity.identity_key().clone()
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*self.aci_identity.identity_key()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
    = note: `#[warn(clippy::clone_on_copy)]` on by default