mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-01 00:00:10 +02:00
sync: handle possibly dangling reference safely (#5812)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
mod maybe_dangling;
|
||||
#[cfg(any(feature = "io", feature = "codec"))]
|
||||
mod poll_buf;
|
||||
|
||||
pub(crate) use maybe_dangling::MaybeDangling;
|
||||
#[cfg(any(feature = "io", feature = "codec"))]
|
||||
#[cfg_attr(not(feature = "io"), allow(unreachable_pub))]
|
||||
pub use poll_buf::{poll_read_buf, poll_write_buf};
|
||||
Reference in New Issue
Block a user