Skip to content

Commit

Permalink
Change documentation & unnecessary qualification warnings.
Browse files Browse the repository at this point in the history
Don't warn during `cargo build` or `cargo test`, but deny them
in `mk/clippy.sh` so that they are caught in CI. Limit `cargo build`
warnings to things that matter during the edit/test cycle.
  • Loading branch information
briansmith committed Oct 13, 2023
1 parent 2dc8554 commit 6ad9ebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mk/clippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ cargo clippy \
--all-features --all-targets \
-- \
--deny missing_docs \
--deny unused_qualifications \
--deny warnings \
$NULL
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
non_snake_case,
unsafe_code
)]
#![deny(missing_docs, unused_qualifications, variant_size_differences)]
#![deny(variant_size_differences)]
#![forbid(unused_results)]
#![no_std]

Expand Down

0 comments on commit 6ad9ebb

Please sign in to comment.