Update quinn/src/lib.rs

Review incorporated

Co-Authored-By: ustulation <ustulation@gmail.com>
This commit is contained in:
Benjamin Saunders
2019-03-21 09:54:25 +00:00
committed by Dirkjan Ochtman
parent e468390802
commit cada5cc194
+1 -1
View File
@@ -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()
}