Skip to content

Commit dce22b9

Browse files
committed
Use docsrs instead of doc_cfg.
1 parent 8c0ad61 commit dce22b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cap-std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414

1515
[package.metadata.docs.rs]
1616
all-features = true
17-
rustdoc-args = ["--cfg=doc_cfg"]
17+
rustdoc-args = ["--cfg=docsrs"]
1818

1919
[dependencies]
2020
arf-strings = { version = "0.7.0", optional = true }

cap-std/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//! [`Pool`]: net::Pool
2424
2525
#![deny(missing_docs)]
26-
#![cfg_attr(doc_cfg, feature(doc_cfg, doc_auto_cfg))]
26+
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
2727
#![cfg_attr(target_os = "wasi", feature(wasi_ext))]
2828
#![cfg_attr(can_vector, feature(can_vector))]
2929
#![cfg_attr(write_all_vectored, feature(write_all_vectored))]

0 commit comments

Comments
 (0)