From a901f50850d22133c01921d74247cd946fd50a7b Mon Sep 17 00:00:00 2001 From: Mingun Date: Mon, 8 May 2023 09:37:15 +0500 Subject: [PATCH] FlatMapAccess and FlatStructAccess does not need to be public --- serde/src/private/de.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serde/src/private/de.rs b/serde/src/private/de.rs index 756e3d03f..c4c3dc253 100644 --- a/serde/src/private/de.rs +++ b/serde/src/private/de.rs @@ -2841,7 +2841,7 @@ where } #[cfg(any(feature = "std", feature = "alloc"))] -pub struct FlatMapAccess<'a, 'de: 'a, E> { +struct FlatMapAccess<'a, 'de: 'a, E> { iter: slice::Iter<'a, Option<(Content<'de>, Content<'de>)>>, pending_content: Option<&'a Content<'de>>, _marker: PhantomData, @@ -2897,7 +2897,7 @@ where } #[cfg(any(feature = "std", feature = "alloc"))] -pub struct FlatStructAccess<'a, 'de: 'a, E> { +struct FlatStructAccess<'a, 'de: 'a, E> { iter: slice::IterMut<'a, Option<(Content<'de>, Content<'de>)>>, pending_content: Option>, fields: &'static [&'static str],