Skip to content

Commit

Permalink
fix: Disable lint that causes errors due to Rocket code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbcodes committed Feb 8, 2024
1 parent b926d7a commit d9dd842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -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)]

Expand All @@ -8,14 +9,14 @@ extern crate rocket;
mod assets;
mod currency;
mod error;
mod forms;
pub mod layout;
pub mod line_item_dates;
pub mod line_items;
pub mod quotes;
mod rocket_ext;
mod schema;
mod time;
mod forms;

use diesel::sqlite::SqliteConnection;
use rocket::response::Redirect;
Expand Down

0 comments on commit d9dd842

Please sign in to comment.