Skip to content

Commit 29f6c75

Browse files
authored
Merge pull request #408 from rust-osdev/remove-doc-cfg
Remove unused `doc_cfg` feature
2 parents 642956d + 4500120 commit 29f6c75

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ rustversion = "1.0.5"
2828
[features]
2929
default = ["nightly", "instructions"]
3030
instructions = []
31-
nightly = ["const_fn", "step_trait", "abi_x86_interrupt", "doc_cfg"]
31+
nightly = ["const_fn", "step_trait", "abi_x86_interrupt"]
3232
abi_x86_interrupt = []
3333
const_fn = []
3434
step_trait = []
35-
doc_cfg = []
3635

3736
# These features are no longer used and only there for backwards compatibility.
3837
external_asm = []
3938
inline_asm = []
39+
doc_cfg = []
4040

4141
[package.metadata.release]
4242
dev-version = false

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![cfg_attr(feature = "const_fn", feature(const_mut_refs))] // GDT add_entry()
66
#![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))]
77
#![cfg_attr(feature = "step_trait", feature(step_trait))]
8-
#![cfg_attr(feature = "doc_cfg", feature(doc_cfg))]
98
#![warn(missing_docs)]
109
#![deny(missing_debug_implementations)]
1110
#![deny(unsafe_op_in_unsafe_fn)]

0 commit comments

Comments
 (0)