🐛 Bug description
Deriving Item on a struct needlessly types the parameter and makes clippy complain.
🤔 Expected Behavior
Deriving Item should not needlessly type the self parameter. More info here.
👟 Steps to reproduce
Derive Item on a struct and run clippy.
#[derive(Item)]
pub struct Movie {
#[dynomite(partition_key)]
pub pk: String,
#[dynomite(sort_key)]
pub sk: Uuid,
pub name: String,
pub year: u16,
}
I simply ran cargo clippy
🌍 Your environment
dynomite version:
0.10.0
rustc version:
1.48.0-nightly
clippy version:
0.0.212