mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-09 18:24:20 +01:00
cargo clippy
This commit is contained in:
@@ -366,7 +366,7 @@ pub fn json_type(value: &OwnedValue, path: Option<&OwnedValue>) -> crate::Result
|
||||
Val::Removed => unreachable!(),
|
||||
};
|
||||
|
||||
Ok(OwnedValue::Text(Text::json(&val.to_string())))
|
||||
Ok(OwnedValue::Text(Text::json(val)))
|
||||
}
|
||||
|
||||
/// Returns the value at the given JSON path. If the path does not exist, it returns None.
|
||||
|
||||
Reference in New Issue
Block a user