Apply clippy suggestion
This commit is contained in:
parent
4aae031f44
commit
01ae10ce53
|
@ -198,10 +198,7 @@ impl<'c, 'e, C: Command, E: Extension> From<(&'c C, &'e E)> for RequestData<'c,
|
||||||
// Manual impl because this does not depend on whether `C` and `E` are `Clone`
|
// Manual impl because this does not depend on whether `C` and `E` are `Clone`
|
||||||
impl<'c, 'e, C, E> Clone for RequestData<'c, 'e, C, E> {
|
impl<'c, 'e, C, E> Clone for RequestData<'c, 'e, C, E> {
|
||||||
fn clone(&self) -> Self {
|
fn clone(&self) -> Self {
|
||||||
Self {
|
*self
|
||||||
command: self.command,
|
|
||||||
extension: self.extension,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue