mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
makes clippy happy
This commit is contained in:
parent
5bea1092fb
commit
791c5cd874
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user