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
Feb 15, 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.78.0-nightly (ee9c7c940 2024-02-14)
- cargo 1.78.0-nightly (fc1d58fd0 2024-02-09)
- clippy 0.1.78 (ee9c7c9 2024-02-14)
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