mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-18 17:26:19 +00:00
Update quinn/src/lib.rs
Review incorporated Co-Authored-By: ustulation <ustulation@gmail.com>
This commit is contained in:
committed by
Dirkjan Ochtman
parent
e468390802
commit
cada5cc194
+1
-1
@@ -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<SocketAddr> {
|
||||
self.inner.borrow().socket.local_addr()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user