makes clippy happy

This commit is contained in:
Tamo 2023-09-11 17:02:01 +02:00
parent 5bea1092fb
commit 791c5cd874

View File

@ -25,10 +25,9 @@ impl Value {
} }
} }
impl Into<Value> for serde_json::Value { impl From<serde_json::Value> for Value {
fn into(self) -> Value { fn from(value: serde_json::Value) -> Self {
serde_json::json!(null); Value(value)
Value(self)
} }
} }