From d9dd8423f8b30609a2dd53715f9c89b6e3a3d190 Mon Sep 17 00:00:00 2001 From: John Bledsoe <59550+johnbcodes@users.noreply.github.com> Date: Thu, 8 Feb 2024 15:33:01 -0500 Subject: [PATCH] fix: Disable lint that causes errors due to Rocket code generation --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cee8678..e88fc8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ #![warn(clippy::all)] +#![allow(clippy::blocks_in_conditions)] // Until https://github.com/rwf2/Rocket/issues/2655 is released #![deny(unreachable_pub, private_bounds, private_interfaces)] #![forbid(unsafe_code)] @@ -8,6 +9,7 @@ extern crate rocket; mod assets; mod currency; mod error; +mod forms; pub mod layout; pub mod line_item_dates; pub mod line_items; @@ -15,7 +17,6 @@ pub mod quotes; mod rocket_ext; mod schema; mod time; -mod forms; use diesel::sqlite::SqliteConnection; use rocket::response::Redirect;