mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 10:17:58 +00:00
Visibility fix for Rust 1.61
This commit is contained in:
@@ -5,7 +5,7 @@ use crate::private;
|
||||
use quote::quote;
|
||||
|
||||
/// Generates `Deserialize::deserialize` body for a `struct Unit;`
|
||||
pub fn generate_body(params: &Parameters, cattrs: &attr::Container) -> Fragment {
|
||||
pub(super) fn generate_body(params: &Parameters, cattrs: &attr::Container) -> Fragment {
|
||||
let this_type = ¶ms.this_type;
|
||||
let this_value = ¶ms.this_value;
|
||||
let type_name = cattrs.name().deserialize_name();
|
||||
|
||||
Reference in New Issue
Block a user