mirror of
https://github.com/instant-labs/instant-epp.git
synced 2025-02-08 01:42:02 +00:00
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`
|
||||
impl<'c, 'e, C, E> Clone for RequestData<'c, 'e, C, E> {
|
||||
fn clone(&self) -> Self {
|
||||
Self {
|
||||
command: self.command,
|
||||
extension: self.extension,
|
||||
}
|
||||
*self
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user