socket/tcp: Fix missing ` in doc comment

This commit is contained in:
David Nadlinger 2021-03-07 04:14:10 +00:00 committed by GitHub
parent 4ac265fb46
commit b5eca87885
1 changed files with 1 additions and 1 deletions

View File

@ -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<R>
where F: FnOnce(&'b mut [u8]) -> (usize, R) {