Skip to content

add overaligned_zst tests #440

add overaligned_zst tests

add overaligned_zst tests #440

Triggered via push September 20, 2023 00:57
Status Success
Total duration 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

checks.yml

on: push
Matrix: Rustfmt
Fit to window
Zoom out
Zoom in

Annotations

49 warnings
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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
non-canonical implementation of `clone` on a `Copy` type: src/oneshot.rs#L123
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