From f1b78d53d7d0009fdef8f0e220bc0c421288c514 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 23 Nov 2023 00:08:16 +0300 Subject: general clean ups for the docs --- net/src/transports/tcp.rs | 2 +- net/src/transports/udp.rs | 2 +- net/src/transports/unix.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'net/src/transports') diff --git a/net/src/transports/tcp.rs b/net/src/transports/tcp.rs index 9b2b928..84aa980 100644 --- a/net/src/transports/tcp.rs +++ b/net/src/transports/tcp.rs @@ -13,7 +13,7 @@ use crate::{ Error, Result, }; -/// TCP network connection implementations of the `Connection` trait. +/// TCP network connection implementations of the [`Connection`] trait. pub struct TcpConn { inner: TcpStream, read: Mutex>, diff --git a/net/src/transports/udp.rs b/net/src/transports/udp.rs index 2050226..ca5b94d 100644 --- a/net/src/transports/udp.rs +++ b/net/src/transports/udp.rs @@ -9,7 +9,7 @@ use crate::{ Error, Result, }; -/// UDP network connection implementations of the `Connection` trait. +/// UDP network connection implementations of the [`Connection`] trait. pub struct UdpConn { inner: UdpSocket, } diff --git a/net/src/transports/unix.rs b/net/src/transports/unix.rs index 1a32311..a720d91 100644 --- a/net/src/transports/unix.rs +++ b/net/src/transports/unix.rs @@ -8,7 +8,7 @@ use smol::{ use crate::{connection::Connection, endpoint::Endpoint, listener::Listener, Error, Result}; -/// Unix domain socket implementations of the `Connection` trait. +/// Unix domain socket implementations of the [`Connection`] trait. pub struct UnixConn { inner: UnixStream, read: Mutex>, -- cgit v1.2.3