*: Use auto_doc_cfg instead of doc(cfg) attributes (#2983)

Co-authored-by: João Oliveira <hello@jxs.pt>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
Hannes
2022-10-24 04:00:20 +02:00
committed by GitHub
parent 159a10b812
commit fcadc83aca
61 changed files with 271 additions and 53 deletions

View File

@ -25,6 +25,8 @@
//! Each call to [`AsyncWrite::poll_write`] will send one packet to the sink.
//! Calls to [`AsyncRead::poll_read`] will read from the stream's incoming packets.
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
use futures::{prelude::*, ready};
use std::{
io::{self, Read},