diff --git a/crates/printer/Cargo.toml b/crates/printer/Cargo.toml index a18b6cc7..7216f26a 100644 --- a/crates/printer/Cargo.toml +++ b/crates/printer/Cargo.toml @@ -35,7 +35,7 @@ grep-regex = { version = "0.1.14", path = "../regex" } all-features = true # This opts into a nightly unstable option to show the features that need to be # enabled for public API items. To do that, we set 'docsrs', and when that's -# enabled, we enable the 'doc_auto_cfg' feature. +# enabled, we enable the 'doc_cfg' feature. # # To test this locally, run: # diff --git a/crates/printer/src/lib.rs b/crates/printer/src/lib.rs index 539dfb7f..9675c642 100644 --- a/crates/printer/src/lib.rs +++ b/crates/printer/src/lib.rs @@ -58,7 +58,7 @@ assert_eq!(output, expected); */ #![deny(missing_docs)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] pub use crate::{ color::{ColorError, ColorSpecs, UserColorSpec, default_color_specs},