diff --git a/tokio-util/src/udp/frame.rs b/tokio-util/src/udp/frame.rs index 18ee106e5..c16e12f88 100644 --- a/tokio-util/src/udp/frame.rs +++ b/tokio-util/src/udp/frame.rs @@ -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 { socket: UdpSocket,