Apply clippy suggestion

This commit is contained in:
Dirkjan Ochtman 2023-10-25 22:39:45 +02:00
parent 4aae031f44
commit 01ae10ce53
1 changed files with 1 additions and 4 deletions

View File

@ -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`
impl<'c, 'e, C, E> Clone for RequestData<'c, 'e, C, E> {
fn clone(&self) -> Self {
Self {
command: self.command,
extension: self.extension,
}
*self
}
}