Skip to content

Commit 550abf7

Browse files
nagisaThomasdezeeuw
authored andcommitted
Fix an instance of not doc(cfg(.*))
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)
1 parent 07bc32f commit 550abf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ macro_rules! cfg_io_source {
5252
($($item:item)*) => {
5353
$(
5454
#[cfg(any(feature = "net", all(unix, feature = "os-ext")))]
55-
#[cfg_attr(docsrs, doc(any(feature = "net", all(unix, feature = "os-ext"))))]
55+
#[cfg_attr(docsrs, doc(cfg(any(feature = "net", all(unix, feature = "os-ext")))))]
5656
$item
5757
)*
5858
}

0 commit comments

Comments
 (0)