make senders and receivers struct repr(C) #481
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
succeeded
Dec 16, 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.76.0-nightly (a96d57bdb 2023-12-15)
- cargo 1.76.0-nightly (1aa9df1a5 2023-12-12)
- clippy 0.1.76 (a96d57b 2023-12-15)
Annotations
Check warning on line 128 in src/oneshot.rs
github-actions / clippy
non-canonical implementation of `clone` on a `Copy` type
warning: non-canonical implementation of `clone` on a `Copy` type
--> src/oneshot.rs:123:29
|
123 | fn clone(&self) -> Self {
| _____________________________^
124 | | Self {
125 | | ptr: self.ptr,
126 | | _phantom: PhantomData,
127 | | }
128 | | }
| |_____^ 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
Loading