chore: fix rust lints

feat/type-attributes
Tomáš Mládek 2023-05-21 21:48:21 +02:00
parent f5e078298c
commit c2b8df9aaa
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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),