Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Fixes minor error in documentation. Specifically, this commit corrects "than" to "then", and "there" to "their", and adds a comma(,) before the "and."
  • Loading branch information
CroxxN authored Sep 9, 2023
1 parent 66ed6b0 commit 4bb3f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ use crate::{MaybeUninitSlice, MsgHdr, RecvFlags};
/// # Notes
///
/// Some methods that set options on `Socket` require two system calls to set
/// there options without overwriting previously set options. We do this by
/// first getting the current settings, applying the desired changes and than
/// their options without overwriting previously set options. We do this by
/// first getting the current settings, applying the desired changes, and then
/// updating the settings. This means that the operation is **not** atomic. This
/// can lead to a data race when two threads are changing options in parallel.
///
Expand Down

0 comments on commit 4bb3f30

Please sign in to comment.