Apply clippy::let_unit_value
This commit is contained in:
parent
dc08e37320
commit
54df8234ed
|
@ -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 New Issue