Rename identifier::generate_body -> deserialize_custom

This commit is contained in:
David Tolnay
2025-09-25 09:33:38 -07:00
parent ad2b064b0a
commit 20fc31c78a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ use quote::{quote, ToTokens};
// Generates `Deserialize::deserialize` body for an enum with
// `serde(field_identifier)` or `serde(variant_identifier)` attribute.
pub(super) fn generate_body(
pub(super) fn deserialize_custom(
params: &Parameters,
variants: &[Variant],
cattrs: &attr::Container,