mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 09:04:59 +08:00
Fix clippy
This commit is contained in:
parent
1ba8a40d61
commit
ba8dcc2d78
@ -503,7 +503,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
use crate::SearchContext;
|
use crate::SearchContext;
|
||||||
|
|
||||||
impl<'a, 'ctx> MatcherBuilder<'a, &[u8]> {
|
impl<'a> MatcherBuilder<'a, &[u8]> {
|
||||||
pub fn new_test(mut ctx: SearchContext, query: &'a str) -> Self {
|
pub fn new_test(mut ctx: SearchContext, query: &'a str) -> Self {
|
||||||
let tokenizer = TokenizerBuilder::new().build();
|
let tokenizer = TokenizerBuilder::new().build();
|
||||||
let tokens = tokenizer.tokenize(query);
|
let tokens = tokenizer.tokenize(query);
|
||||||
|
Loading…
Reference in New Issue
Block a user