Skip to content

Expose AsyncCancel flags #9

Expose AsyncCancel flags

Expose AsyncCancel flags #9

GitHub Actions / clippy succeeded Sep 28, 2023 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.74.0-nightly (e7c502d93 2023-09-27)
  • cargo 1.74.0-nightly (e6aabe8b3 2023-09-26)
  • clippy 0.1.74 (e7c502d 2023-09-27)

Annotations

Check warning on line 59 in src/sys/sys.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

non-canonical implementation of `clone` on a `Copy` type

warning: non-canonical implementation of `clone` on a `Copy` type
  --> src/sys/sys.rs:57:29
   |
57 |       fn clone(&self) -> Self {
   |  _____________________________^
58 | |         Self::new()
59 | |     }
   | |_____^ help: change this to: `{ *self }`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl
   = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default