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 {
fn into(self) -> Value {
serde_json::json!(null);
Value(self)
impl From<serde_json::Value> for Value {
fn from(value: serde_json::Value) -> Self {
Value(value)
}
}