Skip to content

Even more locking fixes #2765

Even more locking fixes

Even more locking fixes #2765

GitHub Actions / workspace succeeded Jun 26, 2024 in 0s

workspace

2 warnings

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 54 in xmtp_mls/src/retry.rs

See this annotation in the file changed.

@github-actions github-actions / workspace

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

warning: using `clone` on type `Duration` which implements the `Copy` trait
  --> xmtp_mls/src/retry.rs:54:28
   |
54 |         let mut duration = self.duration.clone();
   |                            ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.duration`
   |
   = 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

Check warning on line 54 in xmtp_mls/src/retry.rs

See this annotation in the file changed.

@github-actions github-actions / workspace

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

warning: using `clone` on type `Duration` which implements the `Copy` trait
  --> xmtp_mls/src/retry.rs:54:28
   |
54 |         let mut duration = self.duration.clone();
   |                            ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.duration`
   |
   = 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