1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-11-23 21:54:45 +02:00

printer: use doc_cfg instead of doc_auto_cfg

Fixes #3202
This commit is contained in:
Andrew Gallant
2025-10-22 07:47:07 -04:00
parent d47663b1b4
commit 5748f81bb1
2 changed files with 2 additions and 2 deletions

View File

@@ -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:
#

View File

@@ -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},