mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Fix all clippy error after conflicts
This commit is contained in:
parent
c7322f704c
commit
f4ec1abb9b
11 changed files with 53 additions and 54 deletions
|
@ -401,7 +401,7 @@ pub mod tests {
|
|||
fn parse() {
|
||||
use FilterCondition as Fc;
|
||||
|
||||
fn p<'a>(s: &'a str) -> impl std::fmt::Display + 'a {
|
||||
fn p(s: &str) -> impl std::fmt::Display + '_ {
|
||||
Fc::parse(s).unwrap().unwrap()
|
||||
}
|
||||
|
||||
|
@ -494,7 +494,7 @@ pub mod tests {
|
|||
fn error() {
|
||||
use FilterCondition as Fc;
|
||||
|
||||
fn p<'a>(s: &'a str) -> impl std::fmt::Display + 'a {
|
||||
fn p(s: &str) -> impl std::fmt::Display + '_ {
|
||||
Fc::parse(s).unwrap_err().to_string()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue