Skip to content

Commit

Permalink
unneeded variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdlineluser committed Oct 27, 2023
1 parent d524bf8 commit b68b37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-sql/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ impl SqlFunctionVisitor<'_> {
InitCap => self.visit_unary(|e| e.str().to_titlecase()),
Left => self.try_visit_binary(|e, length| {
Ok(match length {
Expr::Literal(LiteralValue::Int64(_n)) => {
Expr::Literal(LiteralValue::Int64(_)) => {
e.str().slice(lit(0), length)
},
_ => {
Expand Down

0 comments on commit b68b37d

Please sign in to comment.