mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Add some missing punctuation in the libstd/net/tcp.rs docs.
This commit is contained in:
@@ -125,7 +125,7 @@ pub fn try_clone(&self) -> io::Result<TcpStream> {
|
||||
self.0.duplicate().map(TcpStream)
|
||||
}
|
||||
|
||||
/// Sets the nodelay flag on this connection to the boolean specified
|
||||
/// Sets the nodelay flag on this connection to the boolean specified.
|
||||
pub fn set_nodelay(&self, nodelay: bool) -> io::Result<()> {
|
||||
self.0.set_nodelay(nodelay)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user