mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-29 09:27:56 +00:00
Visibility fix for Rust 1.61
This commit is contained in:
@@ -10,7 +10,7 @@ use quote::{quote, ToTokens};
|
||||
|
||||
// Generates `Deserialize::deserialize` body for an enum with
|
||||
// `serde(field_identifier)` or `serde(variant_identifier)` attribute.
|
||||
pub fn generate_body(
|
||||
pub(super) fn generate_body(
|
||||
params: &Parameters,
|
||||
variants: &[Variant],
|
||||
cattrs: &attr::Container,
|
||||
@@ -120,7 +120,7 @@ pub fn generate_body(
|
||||
}
|
||||
}
|
||||
|
||||
pub fn generate_identifier(
|
||||
pub(super) fn generate_identifier(
|
||||
deserialized_fields: &[FieldWithAliases],
|
||||
has_flatten: bool,
|
||||
is_variant: bool,
|
||||
|
||||
Reference in New Issue
Block a user