Apply clippy::let_unit_value

This commit is contained in:
Eric Huss 2023-05-13 09:45:46 -07:00
parent dc08e37320
commit 54df8234ed
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ trait Updateable<'de>: Serialize + Deserialize<'de> {
let mut raw = Value::try_from(&self).expect("unreachable"); let mut raw = Value::try_from(&self).expect("unreachable");
if let Ok(value) = Value::try_from(value) { if let Ok(value) = Value::try_from(value) {
let _ = raw.insert(key, value); raw.insert(key, value);
} else { } else {
return; return;
} }