mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 06:12:43 +00:00
Apply clippy::let_unit_value
This commit is contained in:
parent
dc08e37320
commit
54df8234ed
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ trait Updateable<'de>: Serialize + Deserialize<'de> {
|
|||
let mut raw = Value::try_from(&self).expect("unreachable");
|
||||
|
||||
if let Ok(value) = Value::try_from(value) {
|
||||
let _ = raw.insert(key, value);
|
||||
raw.insert(key, value);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue