Skip to content

Commit de2370b

Browse files
committed
Reduce coding convention attributes
Reduce the coding convention attributes by doing: - Change the `missing_docs` to warn - Remove all others but `unsafe_code`
1 parent 61a028a commit de2370b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,8 @@
7777
// Experimental features we need.
7878
#![cfg_attr(bench, feature(test))]
7979
// Coding conventions
80+
#![warn(missing_docs)]
8081
#![deny(unsafe_code)]
81-
#![deny(non_upper_case_globals)]
82-
#![deny(non_camel_case_types)]
83-
#![deny(non_snake_case)]
84-
#![deny(unused_mut)]
85-
#![deny(dead_code)]
86-
#![deny(unused_imports)]
87-
#![deny(missing_docs)]
8882
// Clippy lints that we have disabled
8983
#![allow(clippy::iter_kv_map)] // https://github.com/rust-lang/rust-clippy/issues/11752
9084
#![allow(clippy::manual_range_contains)] // I hate this lint -asp

0 commit comments

Comments
 (0)