Skip to content

Commit

Permalink
chore: remove clone
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-prisma committed Dec 17, 2024
1 parent 3d3a01f commit c2313c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quaint/src/visitor/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ impl<'a> Visitor<'a> for Sqlite<'a> {
JsonType::Number => {
self.visit_expression(Expression::from(Value::text("integer")))?;
self.write(" OR JSON_TYPE")?;
self.surround_with("(", ")", |s| s.visit_expression(left.clone()))?;
self.surround_with("(", ")", |s| s.visit_expression(left))?;
self.write(" = ")?;
self.visit_expression(Expression::from(Value::text("real")))?;
}
Expand Down

0 comments on commit c2313c4

Please sign in to comment.