From 4500120fcbf4053f93e0b2510467c6c86292d294 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 7 Mar 2023 11:41:19 +0100 Subject: [PATCH] Remove unused `doc_cfg` feature --- Cargo.toml | 4 ++-- src/lib.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 42333354e..a54019a9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,15 +28,15 @@ rustversion = "1.0.5" [features] default = ["nightly", "instructions"] instructions = [] -nightly = ["const_fn", "step_trait", "abi_x86_interrupt", "doc_cfg"] +nightly = ["const_fn", "step_trait", "abi_x86_interrupt"] abi_x86_interrupt = [] const_fn = [] step_trait = [] -doc_cfg = [] # These features are no longer used and only there for backwards compatibility. external_asm = [] inline_asm = [] +doc_cfg = [] [package.metadata.release] dev-version = false diff --git a/src/lib.rs b/src/lib.rs index 3dc74b2b7..43cb39aee 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,6 @@ #![cfg_attr(feature = "const_fn", feature(const_mut_refs))] // GDT add_entry() #![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))] #![cfg_attr(feature = "step_trait", feature(step_trait))] -#![cfg_attr(feature = "doc_cfg", feature(doc_cfg))] #![warn(missing_docs)] #![deny(missing_debug_implementations)] #![deny(unsafe_op_in_unsafe_fn)]