File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ use std::result;
55use serde:: de;
66use serde:: ser;
77
8+ #[ allow( unnameable_types) ] // Unsure if/how to expose this
89#[ derive( Debug ) ]
910pub enum Unexpected {
1011 Bool ( bool ) ,
Original file line number Diff line number Diff line change 1717 ) -> Result < FileSourceResult , Box < dyn Error + Send + Sync > > ;
1818}
1919
20+ #[ allow( unnameable_types) ] // Unsure if/how to expose this
2021pub struct FileSourceResult {
2122 pub ( crate ) uri : Option < String > ,
2223 pub ( crate ) content : String ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::value::{Value, ValueKind};
88use crate :: Config ;
99
1010#[ derive( Default , Debug ) ]
11- pub struct ConfigSerializer {
11+ pub ( crate ) struct ConfigSerializer {
1212 keys : Vec < SerKey > ,
1313 pub output : Config ,
1414}
@@ -31,7 +31,7 @@ pub(crate) enum Unreachable {}
3131///
3232/// Existence of this wrapper implies that `.0.keys.last()` is
3333/// `Some(SerKey::Seq(next_index))`.
34- pub struct SeqSerializer < ' a > ( & ' a mut ConfigSerializer ) ;
34+ pub ( crate ) struct SeqSerializer < ' a > ( & ' a mut ConfigSerializer ) ;
3535
3636impl ConfigSerializer {
3737 fn serialize_primitive < T > ( & mut self , value : T ) -> Result < ( ) >
You can’t perform that action at this time.
0 commit comments