Remove redundant closure
This commit is contained in:
parent
3a0eeb4bbb
commit
592140db5b
|
@ -203,7 +203,7 @@ impl Config {
|
||||||
} else {
|
} else {
|
||||||
self.rest
|
self.rest
|
||||||
.insert(index, value)
|
.insert(index, value)
|
||||||
.map_err(|e| ErrorKind::TomlQueryError(e))?;
|
.map_err(ErrorKind::TomlQueryError)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in New Issue