Skip to content

Commit eb9ccb5

Browse files
committed
Remove internal deny_warnings feature
1 parent 2df2b97 commit eb9ccb5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ cc = { version = "1.0.37", optional = true }
3535
[features]
3636
default = [ "nightly", "instructions" ]
3737
instructions = []
38-
deny-warnings = []
3938
external_asm = [ "cc" ]
4039
nightly = [ "inline_asm", "const_fn", "abi_x86_interrupt" ]
4140
inline_asm = []

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
#![cfg_attr(feature = "const_fn", feature(const_in_array_repeat_expressions))]
1010
#![cfg_attr(feature = "inline_asm", feature(asm))]
1111
#![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))]
12-
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
13-
#![cfg_attr(feature = "deny-warnings", deny(missing_docs))]
14-
#![cfg_attr(not(feature = "deny-warnings"), warn(missing_docs))]
12+
#![warn(missing_docs)]
1513
#![deny(missing_debug_implementations)]
1614

1715
pub use crate::addr::{align_down, align_up, PhysAddr, VirtAddr};

0 commit comments

Comments
 (0)