diff --git a/quinn/src/lib.rs b/quinn/src/lib.rs index 8673e06b5..041df9ea4 100644 --- a/quinn/src/lib.rs +++ b/quinn/src/lib.rs @@ -171,7 +171,7 @@ impl Endpoint { Ok(()) } - /// Get the local endpoint the underlying socket is bound to + /// Get the local `SocketAddr` the underlying socket is bound to pub fn local_addr(&self) -> io::Result { self.inner.borrow().socket.local_addr() }