Skip to content

Commit a901f50

Browse files
committed
FlatMapAccess and FlatStructAccess does not need to be public
1 parent c399e9c commit a901f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serde/src/private/de.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2841,7 +2841,7 @@ where
28412841
}
28422842

28432843
#[cfg(any(feature = "std", feature = "alloc"))]
2844-
pub struct FlatMapAccess<'a, 'de: 'a, E> {
2844+
struct FlatMapAccess<'a, 'de: 'a, E> {
28452845
iter: slice::Iter<'a, Option<(Content<'de>, Content<'de>)>>,
28462846
pending_content: Option<&'a Content<'de>>,
28472847
_marker: PhantomData<E>,
@@ -2897,7 +2897,7 @@ where
28972897
}
28982898

28992899
#[cfg(any(feature = "std", feature = "alloc"))]
2900-
pub struct FlatStructAccess<'a, 'de: 'a, E> {
2900+
struct FlatStructAccess<'a, 'de: 'a, E> {
29012901
iter: slice::IterMut<'a, Option<(Content<'de>, Content<'de>)>>,
29022902
pending_content: Option<Content<'de>>,
29032903
fields: &'static [&'static str],

0 commit comments

Comments
 (0)