Fix clippy: Remove unneeded clone() calls
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
524c246972
commit
607d86219c
|
@ -58,7 +58,7 @@ impl<'a> Into<Option<StatusesRequest<'a>>> for &'a mut StatusesRequest<'a> {
|
||||||
pinned: self.pinned,
|
pinned: self.pinned,
|
||||||
max_id: self.max_id.clone(),
|
max_id: self.max_id.clone(),
|
||||||
since_id: self.since_id.clone(),
|
since_id: self.since_id.clone(),
|
||||||
limit: self.limit.clone(),
|
limit: self.limit,
|
||||||
min_id: self.min_id.clone(),
|
min_id: self.min_id.clone(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -176,8 +176,8 @@ impl UpdateCredsRequest {
|
||||||
avatar: self.avatar.clone(),
|
avatar: self.avatar.clone(),
|
||||||
header: self.avatar.clone(),
|
header: self.avatar.clone(),
|
||||||
source: Some(UpdateSource {
|
source: Some(UpdateSource {
|
||||||
privacy: self.privacy.clone(),
|
privacy: self.privacy,
|
||||||
sensitive: self.sensitive.clone(),
|
sensitive: self.sensitive,
|
||||||
}),
|
}),
|
||||||
fields_attributes: self.field_attributes.clone(),
|
fields_attributes: self.field_attributes.clone(),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue