Skip to content

Commit 9ae93c0

Browse files
committed
fix clippy
1 parent 66a413d commit 9ae93c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/functions-v2/src/scalars/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ mod soundex {
772772
}
773773

774774
#[inline]
775-
fn substr<'a>(str: &'a [u8], pos: i64, len: u64) -> &'a [u8] {
775+
fn substr(str: &[u8], pos: i64, len: u64) -> &[u8] {
776776
if pos > 0 && pos <= str.len() as i64 {
777777
let l = str.len() as usize;
778778
let s = (pos - 1) as usize;

0 commit comments

Comments
 (0)