Remove redundant closure

This commit is contained in:
Jeremy Stucki 2019-06-20 14:56:47 +02:00
parent 3a0eeb4bbb
commit 592140db5b
No known key found for this signature in database
GPG Key ID: EEFCA93148042655
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ impl Config {
} else {
self.rest
.insert(index, value)
.map_err(|e| ErrorKind::TomlQueryError(e))?;
.map_err(ErrorKind::TomlQueryError)?;
}
Ok(())