Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Sep 9, 2024
1 parent 8ebd4d1 commit 5aae0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions/src/unicode/strpos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ where
if ascii_only {
// If the substring is empty, the result is 1.
if substring.as_bytes().is_empty() {
return T::Native::from_usize(1);
T::Native::from_usize(1)
} else {
T::Native::from_usize(
string
Expand Down

0 comments on commit 5aae0fb

Please sign in to comment.