From a03a08ef71628cb6b013d30872622a0f9c82ed0a Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 21 Oct 2024 10:09:49 +0200 Subject: [PATCH] docs(iroh-net): Document cfg(test) items as well (#2819) ## Description It seems the newer rust release enforces missing docs on this as well. ## Breaking Changes None ## Notes & open questions ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. --- iroh-net/src/relay/server/streams.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/iroh-net/src/relay/server/streams.rs b/iroh-net/src/relay/server/streams.rs index c807462e77..8979af9c1a 100644 --- a/iroh-net/src/relay/server/streams.rs +++ b/iroh-net/src/relay/server/streams.rs @@ -92,6 +92,7 @@ pub enum MaybeTlsStream { Plain(tokio::net::TcpStream), /// A Tls wrapped [`tokio::net::TcpStream`] Tls(tokio_rustls::server::TlsStream), + /// An in-memory bidirectional pipe. #[cfg(test)] Test(tokio::io::DuplexStream), }