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