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/connection.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/src/connection.rs') diff --git a/net/src/connection.rs b/net/src/connection.rs index 53bcdeb..950f171 100644 --- a/net/src/connection.rs +++ b/net/src/connection.rs @@ -7,10 +7,10 @@ use crate::transports::{tcp, udp, unix}; pub type Conn = Box; /// Connection is a generic network connection interface for -/// `UdpConn`, `TcpConn`, and `UnixConn`. +/// [`udp::UdpConn`], [`tcp::TcpConn`], and [`unix::UnixConn`]. /// -/// If you are familiar with the Go language, this is similar to the `Conn` -/// interface +/// If you are familiar with the Go language, this is similar to the +/// [Conn](https://pkg.go.dev/net#Conn) interface #[async_trait] pub trait Connection: Send + Sync { /// Returns the remote peer endpoint of this connection -- cgit v1.2.3