File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change
1
+ /// The backing store for [`Config`][crate::Config]
2
+ pub type Map < K , V > = InternalMap < K , V > ;
3
+
1
4
#[ cfg( not( feature = "preserve_order" ) ) ]
2
- pub type Map < K , V > = std:: collections:: HashMap < K , V > ;
5
+ type InternalMap < K , V > = std:: collections:: HashMap < K , V > ;
3
6
#[ cfg( feature = "preserve_order" ) ]
4
- pub type Map < K , V > = indexmap:: IndexMap < K , V > ;
7
+ type InternalMap < K , V > = indexmap:: IndexMap < K , V > ;
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ use crate::value::{Value, ValueKind};
13
13
pub trait Source : Debug {
14
14
fn clone_into_box ( & self ) -> Box < dyn Source + Send + Sync > ;
15
15
16
- /// Collect all configuration properties available from this source and return
17
- /// a Map.
16
+ /// Collect all configuration properties available from this source into
17
+ /// a [` Map`] .
18
18
fn collect ( & self ) -> Result < Map < String , Value > > ;
19
19
20
20
/// Collects all configuration properties to a provided cache.
You can’t perform that action at this time.
0 commit comments