From b5eca878859990cdf4fa9932c2cde2ff545cdc04 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 7 Mar 2021 04:14:10 +0000 Subject: [PATCH] socket/tcp: Fix missing ` in doc comment --- src/socket/tcp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket/tcp.rs b/src/socket/tcp.rs index 2edccb8..baccd35 100644 --- a/src/socket/tcp.rs +++ b/src/socket/tcp.rs @@ -858,7 +858,7 @@ impl<'a> TcpSocket<'a> { /// Call `f` with the largest contiguous slice of octets in the transmit buffer, /// and enqueue the amount of elements returned by `f`. /// - /// This function returns `Err(Error::Illegal) if the transmit half of + /// This function returns `Err(Error::Illegal)` if the transmit half of /// the connection is not open; see [may_send](#method.may_send). pub fn send<'b, F, R>(&'b mut self, f: F) -> Result where F: FnOnce(&'b mut [u8]) -> (usize, R) {