File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub struct Environment {
41
41
/// Optional character sequence that separates each env value into a vector. only works when try_parsing is set to true
42
42
/// Once set, you cannot have type String on the same environment, unless you set list_parse_keys.
43
43
list_separator : Option < String > ,
44
- /// A list of keys which should always be parsed as a list. If not set you can have only Vec<String> or String (not both) in one environment.
44
+ /// A list of keys which should always be parsed as a list. If not set you can have only ` Vec<String>` or ` String` (not both) in one environment.
45
45
list_parse_keys : Option < Vec < String > > ,
46
46
47
47
/// Ignore empty env values (treat as unset).
@@ -142,7 +142,9 @@ impl Environment {
142
142
}
143
143
144
144
/// When set and try_parsing is true, then all environment variables will be parsed as [`Vec<String>`] instead of [`String`].
145
- /// See [`with_list_parse_key`] when you want to use [`Vec<String>`] in combination with [`String`].
145
+ /// See
146
+ /// [`with_list_parse_key`](Self::with_list_parse_key)
147
+ /// when you want to use [`Vec<String>`] in combination with [`String`].
146
148
pub fn list_separator ( mut self , s : & str ) -> Self {
147
149
self . list_separator = Some ( s. into ( ) ) ;
148
150
self
You can’t perform that action at this time.
0 commit comments