Skip to content

Commit 712e483

Browse files
CroxxNThomasdezeeuw
authored andcommitted
fix typos
Fixes minor error in documentation. Specifically, this commit corrects "than" to "then", and "there" to "their", and adds a comma(,) before the "and."
1 parent 66ed6b0 commit 712e483

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/socket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ use crate::{MaybeUninitSlice, MsgHdr, RecvFlags};
4848
/// # Notes
4949
///
5050
/// Some methods that set options on `Socket` require two system calls to set
51-
/// there options without overwriting previously set options. We do this by
52-
/// first getting the current settings, applying the desired changes and than
51+
/// their options without overwriting previously set options. We do this by
52+
/// first getting the current settings, applying the desired changes, and then
5353
/// updating the settings. This means that the operation is **not** atomic. This
5454
/// can lead to a data race when two threads are changing options in parallel.
5555
///

0 commit comments

Comments
 (0)