mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-24 07:45:45 +00:00
Fix unneeded clone from PR #1917
This commit is contained in:
@@ -2121,8 +2121,7 @@ fn deserialize_identifier(
|
|||||||
(None, None, None, None)
|
(None, None, None, None)
|
||||||
};
|
};
|
||||||
|
|
||||||
let (fallthrough_arm, fallthrough_borrowed_arm) = if let Some(fallthrough) = fallthrough.clone()
|
let (fallthrough_arm, fallthrough_borrowed_arm) = if let Some(fallthrough) = fallthrough {
|
||||||
{
|
|
||||||
fallthrough
|
fallthrough
|
||||||
} else if is_variant {
|
} else if is_variant {
|
||||||
let fallthrough = quote! {
|
let fallthrough = quote! {
|
||||||
|
|||||||
Reference in New Issue
Block a user