Minify mapping
This commit is contained in:
parent
1e06b90eea
commit
e5fa71d1e7
1 changed files with 5 additions and 7 deletions
|
@ -128,13 +128,11 @@ impl Configuration {
|
|||
|
||||
v.into_iter()
|
||||
.map(|s| { debug!("Trying to process '{}'", s); s })
|
||||
.filter_map(|s| {
|
||||
match s.into_kv() {
|
||||
Some(kv) => Some(kv.into()),
|
||||
None => {
|
||||
warn!("Could split at '=' - will be ignore override");
|
||||
None
|
||||
}
|
||||
.filter_map(|s| match s.into_kv() {
|
||||
Some(kv) => Some(kv.into()),
|
||||
None => {
|
||||
warn!("Could split at '=' - will be ignore override");
|
||||
None
|
||||
}
|
||||
})
|
||||
.map(|(k, v)| {
|
||||
|
|
Loading…
Reference in a new issue