]> git.lizzy.rs Git - connect-rs.git/blobdiff - src/tls/mod.rs
fix docs to be more readable
[connect-rs.git] / src / tls / mod.rs
index a0b7f10e1d890d55757d0d9c8d1874146f5cca34..8e62369d3034ed4d151dbfbbc1a0f68f21ae18c0 100644 (file)
@@ -27,8 +27,8 @@ pub use async_tls;
 #[doc(cfg(feature = "tls"))]
 pub use rustls;
 
-/// Used to differentiate between an outgoing connection ([`TlsConnectionMetadata::Client`]) or
-/// incoming connection listener ([`TlsConnectionMetadata::Listener`]).
+/// Used to differentiate between an outgoing connection ([Client](`TlsConnectionMetadata::Client`))
+/// or incoming connection listener ([Listener](`TlsConnectionMetadata::Listener`)).
 ///
 /// The async TLS library used by this crate has two differing stream types based on whether the
 /// connection being established is either a client or server. This is to aid with handling that