Skip to content

Commit 09cc874

Browse files
authored
fix(doc): rename doc_cfg guard to docsrs, rust-lang/cargo#13875 (#45)
1 parent 2299375 commit 09cc874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ log = "0.4.18"
6262
wasm-bindgen = ["futures-timer/wasm-bindgen", "instant/wasm-bindgen"]
6363

6464
[package.metadata.docs.rs]
65-
rustdoc-args = ["--cfg", "docs_rs"]
65+
rustdoc-args = ["--cfg", "docsrs"]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(docs_rs, feature(doc_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg))]
22
#![doc = include_str!("../README.md")]
33

44
use std::sync::Arc;

0 commit comments

Comments
 (0)