cargo clippy
Checking test-rs v0.1.0 (/home/xxx/dev/test-rs)
warning: unneeded `return` statement
--> src/main.rs:3:10
|
3 | #[derive(Derivative)]
| ^^^^^^^^^^
|
= note: `#[warn(clippy::needless_return)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: 1 warning emitted
Finished dev [unoptimized + debuginfo] target(s) in 0.14s
Expected behavior
No warning
Version (please complete the following information):
Please include the output of the following commands, and any other version you think is relevant:
Describe the bug
clippy warns when using
clone_from = "true"
To Reproduce
Expected behavior
No warning
Version (please complete the following information):
Please include the output of the following commands, and any other version you think is relevant:
derivative
: