Apply clippy::let_unit_value

This commit is contained in:
Eric Huss 2023-05-13 09:45:46 -07:00
parent dc08e37320
commit 54df8234ed

View file

@ -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;
}