aboutsummaryrefslogtreecommitdiff
path: root/net/src/transports
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-11-23 00:08:16 +0300
committerhozan23 <hozan23@proton.me>2023-11-23 00:08:16 +0300
commitf1b78d53d7d0009fdef8f0e220bc0c421288c514 (patch)
tree4e00a6ef8228a25debcaadf8b1e3b5ca4517eeae /net/src/transports
parent52616ee63d77e1847f502c0ac92bead6eaa12ab3 (diff)
general clean ups for the docs
Diffstat (limited to 'net/src/transports')
-rw-r--r--net/src/transports/tcp.rs2
-rw-r--r--net/src/transports/udp.rs2
-rw-r--r--net/src/transports/unix.rs2
3 files changed, 3 insertions, 3 deletions
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<ReadHalf<TcpStream>>,
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<ReadHalf<UnixStream>>,