Skip to content

Commit

Permalink
Merge pull request #41 from NobodyXu/improve-doc
Browse files Browse the repository at this point in the history
Fix Safety doc for unsafe fn `Client::from_env`
  • Loading branch information
alexcrichton authored Jul 1, 2022
2 parents b38aa02 + 8043b38 commit a66acbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl Client {
/// with `CLOEXEC` so they're not automatically inherited by spawned
/// children.
///
/// # Unsafety
/// # Safety
///
/// This function is `unsafe` to call on Unix specifically as it
/// transitively requires usage of the `from_raw_fd` function, which is
Expand Down

0 comments on commit a66acbc

Please sign in to comment.