Make clippy happy

This commit is contained in:
Kerollmops 2023-01-16 16:35:58 +01:00
parent 5bab8cf7ec
commit 4fb47492e5
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ pub const DEFAULT_CROP_MARKER: fn() -> String = || "…".to_string();
pub const DEFAULT_HIGHLIGHT_PRE_TAG: fn() -> String = || "<em>".to_string();
pub const DEFAULT_HIGHLIGHT_POST_TAG: fn() -> String = || "</em>".to_string();
#[derive(Debug, Clone, Default, PartialEq, DeserializeFromValue)]
#[derive(Debug, Clone, Default, PartialEq, Eq, DeserializeFromValue)]
#[deserr(rename_all = camelCase, deny_unknown_fields)]
pub struct SearchQuery {
pub q: Option<String>,