Skip to content

Commit 8fa01e7

Browse files
Fix clippy lints
They are not caused by my PR, but I might as well fix them.
1 parent b9c9553 commit 8fa01e7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/errors.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ pub enum Error {
6868

6969
#[derive(Debug, Clone, Deserialize, Error)]
7070
#[serde(rename_all = "camelCase")]
71-
7271
pub struct MeilisearchCommunicationError {
7372
pub status_code: u16,
7473
pub message: Option<String>,

src/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct Filter<'a> {
2121

2222
impl<'a> Filter<'a> {
2323
#[must_use]
24-
pub fn new(inner: Either<&'a str, Vec<&'a str>>) -> Filter {
24+
pub fn new(inner: Either<&'a str, Vec<&'a str>>) -> Filter<'a> {
2525
Filter { inner }
2626
}
2727
}

0 commit comments

Comments
 (0)