Merge pull request #431 from dnadlinger/patch-2

socket/tcp: Fix missing ` in doc comment
This commit is contained in:
Dario Nieuwenhuis 2021-03-07 07:58:04 +01:00 committed by GitHub
commit 4933a0a19f
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) {