Skip to content

Commit

Permalink
Fix an instance of not doc(cfg(.*))
Browse files Browse the repository at this point in the history
This unbreaks the CI in another crates that use
`RUSTDOCFLAGS=--cfg=docsrs` to verify correctness of their own things. I
wonder why docs.rs itself does not fail on this though.

(cherry picked from commit 25e8f91)
  • Loading branch information
nagisa authored and Thomasdezeeuw committed Mar 15, 2021
1 parent 07bc32f commit 550abf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ macro_rules! cfg_io_source {
($($item:item)*) => {
$(
#[cfg(any(feature = "net", all(unix, feature = "os-ext")))]
#[cfg_attr(docsrs, doc(any(feature = "net", all(unix, feature = "os-ext"))))]
#[cfg_attr(docsrs, doc(cfg(any(feature = "net", all(unix, feature = "os-ext")))))]
$item
)*
}
Expand Down

0 comments on commit 550abf7

Please sign in to comment.