fix clippy once again

This commit is contained in:
Irevoire 2022-10-26 19:04:46 +02:00 committed by Clément Renault
parent 7307c4dacd
commit a99ddf85f7
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -77,7 +77,7 @@ impl From<MatchingStrategy> for TermsMatchingStrategy {
}
}
#[derive(Debug, Clone, Serialize, PartialEq)]
#[derive(Debug, Clone, Serialize, PartialEq, Eq)]
pub struct SearchHit {
#[serde(flatten)]
pub document: Document,
@ -87,7 +87,7 @@ pub struct SearchHit {
pub matches_position: Option<MatchesPosition>,
}
#[derive(Serialize, Debug, Clone, PartialEq)]
#[derive(Serialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct SearchResult {
pub hits: Vec<SearchHit>,