chore: fix rust lints
This commit is contained in:
parent
f5e078298c
commit
c2b8df9aaa
2 changed files with 2 additions and 1 deletions
|
@ -439,7 +439,7 @@ fn main() -> Result<()> {
|
|||
actix_web::HttpResponse::ServiceUnavailable().body("Web UI not enabled.")
|
||||
}
|
||||
|
||||
return app.service(unavailable_index);
|
||||
app.service(unavailable_index)
|
||||
});
|
||||
|
||||
let bind_result = server.bind(&bind);
|
||||
|
|
|
@ -108,6 +108,7 @@ pub struct MultiQuery {
|
|||
pub queries: NonEmpty<Box<Query>>,
|
||||
}
|
||||
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum Query {
|
||||
SingleQuery(QueryPart),
|
||||
|
|
Loading…
Reference in a new issue