๐Ÿ“Ž makes clippy happy

This commit is contained in:
Irevoire
2022-08-12 14:18:27 +02:00
parent e6b806e0cf
commit 83e20027fd
9 changed files with 15 additions and 13 deletions

View File

@ -31,7 +31,7 @@ pub const DEFAULT_HIGHLIGHT_POST_TAG: fn() -> String = || "</em>".to_string();
/// will be able to return in one search call.
pub const DEFAULT_PAGINATION_MAX_TOTAL_HITS: usize = 1000;
#[derive(Deserialize, Debug, Clone, PartialEq)]
#[derive(Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
pub struct SearchQuery {
pub q: Option<String>,