Avoid cloning Copy types
As recommended by Clippy's clone_on_copy lint.
This commit is contained in:
parent
23fa83941e
commit
cfd26c6fda
@ -100,7 +100,7 @@ impl<'de> Deserializer<'de> {
|
||||
DeserializerSeqVisitor {
|
||||
de: self,
|
||||
len: len,
|
||||
end: end.clone(),
|
||||
end: end,
|
||||
},
|
||||
)
|
||||
);
|
||||
@ -122,7 +122,7 @@ impl<'de> Deserializer<'de> {
|
||||
DeserializerMapVisitor {
|
||||
de: self,
|
||||
len: len,
|
||||
end: end.clone(),
|
||||
end: end,
|
||||
},
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user