Skip to content

Commit

Permalink
fix: correct non-local-definitions lint configuration in Cargo.toml a…
Browse files Browse the repository at this point in the history
…nd allow it in lib.rs

Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Nov 29, 2024
1 parent e0c3d66 commit 3355ab9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ unused_comparisons = "warn"
unused_parens = "warn"
while_true = "warn"
unreachable_pub = "allow"
non-local-definitions = "allow"
non_local_definitions = "allow"

[workspace.lints.clippy]
redundant_pub_crate = "allow"
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
//!
//! [Abscissa]: https://github.com/iqlusioninc/abscissa
#![allow(non_local_definitions)]

pub mod acl;
pub mod application;
pub mod auth;
Expand Down

0 comments on commit 3355ab9

Please sign in to comment.