Skip to content

Commit

Permalink
fix(doc): rename doc_cfg guard to docsrs, rust-lang/cargo#13875 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvolin committed May 20, 2024
1 parent 2299375 commit 09cc874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ log = "0.4.18"
wasm-bindgen = ["futures-timer/wasm-bindgen", "instant/wasm-bindgen"]

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docs_rs"]
rustdoc-args = ["--cfg", "docsrs"]
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg_attr(docs_rs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc = include_str!("../README.md")]

use std::sync::Arc;
Expand Down

0 comments on commit 09cc874

Please sign in to comment.