We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefix_separator
1 parent 4514beb commit ec1ed60Copy full SHA for ec1ed60
src/env.rs
@@ -28,6 +28,7 @@ pub struct Environment {
28
prefix: Option<String>,
29
30
/// Optional character sequence that separates the prefix from the rest of the key.
31
+ ///
32
/// Defaults to [`separator`](Environment::separator()) if that is set, otherwise `_`.
33
prefix_separator: Option<String>,
34
@@ -128,6 +129,7 @@ impl Environment {
128
129
}
130
131
132
133
134
pub fn prefix_separator(mut self, s: &str) -> Self {
135
self.prefix_separator = Some(s.into());
0 commit comments