mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-28 12:37:58 +00:00
Rename all other generate_body -> deserialize
This commit is contained in:
@@ -16,7 +16,7 @@ use quote::{quote, quote_spanned};
|
||||
use syn::spanned::Spanned;
|
||||
|
||||
/// Generates `Deserialize::deserialize` body for an `enum Enum {...}` with `#[serde(tag, content)]` attributes
|
||||
pub(super) fn generate_body(
|
||||
pub(super) fn deserialize(
|
||||
params: &Parameters,
|
||||
variants: &[Variant],
|
||||
cattrs: &attr::Container,
|
||||
|
||||
Reference in New Issue
Block a user