mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 01:31:33 +00:00
*: 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:
@ -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},
|
||||
|
Reference in New Issue
Block a user