mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
chore: fix doc failure in CI on master (#4020)
This commit is contained in:
@@ -1,13 +1,4 @@
|
|||||||
//! Wrappers for Tokio types that implement `Stream`.
|
//! Wrappers for Tokio types that implement `Stream`.
|
||||||
//!
|
|
||||||
#![cfg_attr(
|
|
||||||
unix,
|
|
||||||
doc = "You are viewing documentation built under unix. To view windows-specific wrappers, change to the `x86_64-pc-windows-msvc` platform."
|
|
||||||
)]
|
|
||||||
#![cfg_attr(
|
|
||||||
windows,
|
|
||||||
doc = "You are viewing documentation built under windows. To view unix-specific wrappers, change to the `x86_64-unknown-linux-gnu` platform."
|
|
||||||
)]
|
|
||||||
|
|
||||||
/// Error types for the wrappers.
|
/// Error types for the wrappers.
|
||||||
pub mod errors {
|
pub mod errors {
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ macro_rules! cfg_net_unix {
|
|||||||
macro_rules! cfg_net_windows {
|
macro_rules! cfg_net_windows {
|
||||||
($($item:item)*) => {
|
($($item:item)*) => {
|
||||||
$(
|
$(
|
||||||
#[cfg(all(any(docsrs, windows), feature = "net"))]
|
#[cfg(all(any(all(doc, docsrs), windows), feature = "net"))]
|
||||||
#[cfg_attr(docsrs, doc(cfg(all(windows, feature = "net"))))]
|
#[cfg_attr(docsrs, doc(cfg(all(windows, feature = "net"))))]
|
||||||
$item
|
$item
|
||||||
)*
|
)*
|
||||||
|
|||||||
Reference in New Issue
Block a user