mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-30 00:00:16 +02:00
docs: fix all rustdoc warnings (#1474)
This commit is contained in:
@@ -262,8 +262,10 @@ impl TryFrom<TcpListener> for mio::net::TcpListener {
|
||||
|
||||
/// Consumes value, returning the mio I/O object.
|
||||
///
|
||||
/// See [`tokio_net::util::PollEvented::into_inner`] for more details about
|
||||
/// See [`PollEvented::into_inner`] for more details about
|
||||
/// resource deregistration that happens during the call.
|
||||
///
|
||||
/// [`PollEvented::into_inner`]: crate::util::PollEvented::into_inner
|
||||
fn try_from(value: TcpListener) -> Result<Self, Self::Error> {
|
||||
value.io.into_inner()
|
||||
}
|
||||
|
||||
@@ -802,8 +802,10 @@ impl TryFrom<TcpStream> for mio::net::TcpStream {
|
||||
|
||||
/// Consumes value, returning the mio I/O object.
|
||||
///
|
||||
/// See [`tokio_net::util::PollEvented::into_inner`] for more details about
|
||||
/// See [`PollEvented::into_inner`] for more details about
|
||||
/// resource deregistration that happens during the call.
|
||||
///
|
||||
/// [`PollEvented::into_inner`]: crate::util::PollEvented::into_inner
|
||||
fn try_from(value: TcpStream) -> Result<Self, Self::Error> {
|
||||
value.io.into_inner()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user