Skip to content

Commit c4984ef

Browse files
committed
docs: fix doc_auto_cfg
rust-lang/rust#138907
1 parent 4c686ee commit c4984ef

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

ib-matcher/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Use [`regex::cp::Regex`] if:
160160
//! These can improve the performance by 5~10% at most.
161161
//!
162162
//! ## Crate features
163-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
163+
#![cfg_attr(docsrs, feature(doc_cfg))]
164164
#![cfg_attr(feature = "doc", doc = document_features::document_features!())]
165165

166166
extern crate alloc;

ib-pinyin/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! ```
2828
//!
2929
//! ## Features
30-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
30+
#![cfg_attr(docsrs, feature(doc_cfg))]
3131
#![cfg_attr(feature = "doc", doc = document_features::document_features!())]
3232
pub mod matcher;
3333
#[cfg(feature = "minimal")]

ib-romaji/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! - And this way the str can also be compressed and then streamly decompressed.
2828
//!
2929
//! ## Features
30-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
30+
#![cfg_attr(docsrs, feature(doc_cfg))]
3131
#![cfg_attr(feature = "doc", doc = document_features::document_features!())]
3232
use bon::bon;
3333
use daachorse::{CharwiseDoubleArrayAhoCorasick, CharwiseDoubleArrayAhoCorasickBuilder, MatchKind};

ib-unicode/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Fast Unicode utils.
99
1010
## Crate features
1111
*/
12-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
12+
#![cfg_attr(docsrs, feature(doc_cfg))]
1313
#![cfg_attr(feature = "doc", doc = document_features::document_features!())]
1414
pub mod ascii;
1515
pub mod case;

0 commit comments

Comments
 (0)