mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 04:28:00 +00:00
Replace unnecessary use of generics_with_de_lifetime
This commit is contained in:
@@ -635,7 +635,7 @@ fn deserialize_map_in_place(
|
||||
});
|
||||
|
||||
let this_type = ¶ms.this_type;
|
||||
let (_, _, ty_generics, _) = params.generics_with_de_lifetime();
|
||||
let (_, ty_generics, _) = params.generics.split_for_impl();
|
||||
|
||||
let let_default = match cattrs.default() {
|
||||
attr::Default::Default => Some(quote!(
|
||||
|
||||
Reference in New Issue
Block a user