mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
Fix UdpFramed doc cfg_attr (#2010)
This commit is contained in:
committed by
Lucio Franco
parent
de5ec6e1bc
commit
b1266a48c4
@@ -27,7 +27,7 @@ use std::task::{Context, Poll};
|
||||
/// calling `split` on the `UdpFramed` returned by this method, which will break
|
||||
/// them into separate objects, allowing them to interact more easily.
|
||||
#[must_use = "sinks do nothing unless polled"]
|
||||
#[cfg_attr(docsrs, doc(feature = "codec-udp"))]
|
||||
#[cfg_attr(docsrs, doc(all(feature = "codec", feature = "udp")))]
|
||||
#[derive(Debug)]
|
||||
pub struct UdpFramed<C> {
|
||||
socket: UdpSocket,
|
||||
|
||||
Reference in New Issue
Block a user