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.
1 parent 2d3c6dc commit a73dc37Copy full SHA for a73dc37
src/env.rs
@@ -140,7 +140,7 @@ impl Environment {
140
/// Once list_separator is set, the type for string is [`Vec<String>`].
141
/// To switch the default type back to type Strings you need to provide the keys which should be [`Vec<String>`] using this function.
142
pub fn with_list_parse_key(mut self, key: &str) -> Self {
143
- if self.list_parse_keys == None {
+ if self.list_parse_keys.is_none() {
144
self.list_parse_keys = Some(vec![key.into()])
145
} else {
146
self.list_parse_keys = self.list_parse_keys.map(|mut keys| {
0 commit comments