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;
5
5
use serde:: de;
6
6
use serde:: ser;
7
7
8
+ #[ allow( unnameable_types) ] // Unsure if/how to expose this
8
9
#[ derive( Debug ) ]
9
10
pub enum Unexpected {
10
11
Bool ( bool ) ,
Original file line number Diff line number Diff line change 17
17
) -> Result < FileSourceResult , Box < dyn Error + Send + Sync > > ;
18
18
}
19
19
20
+ #[ allow( unnameable_types) ] // Unsure if/how to expose this
20
21
pub struct FileSourceResult {
21
22
pub ( crate ) uri : Option < String > ,
22
23
pub ( crate ) content : String ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::value::{Value, ValueKind};
8
8
use crate :: Config ;
9
9
10
10
#[ derive( Default , Debug ) ]
11
- pub struct ConfigSerializer {
11
+ pub ( crate ) struct ConfigSerializer {
12
12
keys : Vec < SerKey > ,
13
13
pub output : Config ,
14
14
}
@@ -31,7 +31,7 @@ pub(crate) enum Unreachable {}
31
31
///
32
32
/// Existence of this wrapper implies that `.0.keys.last()` is
33
33
/// `Some(SerKey::Seq(next_index))`.
34
- pub struct SeqSerializer < ' a > ( & ' a mut ConfigSerializer ) ;
34
+ pub ( crate ) struct SeqSerializer < ' a > ( & ' a mut ConfigSerializer ) ;
35
35
36
36
impl ConfigSerializer {
37
37
fn serialize_primitive < T > ( & mut self , value : T ) -> Result < ( ) >
You can’t perform that action at this time.
0 commit comments