mirror of
https://github.com/rust-lang/mdBook
synced 2025-03-04 23:27:17 +00:00
Remove redundant closure
This commit is contained in:
parent
3a0eeb4bbb
commit
592140db5b
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ impl Config {
|
|||
} else {
|
||||
self.rest
|
||||
.insert(index, value)
|
||||
.map_err(|e| ErrorKind::TomlQueryError(e))?;
|
||||
.map_err(ErrorKind::TomlQueryError)?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Reference in a new issue