Skip to content

Commit a66acbc

Browse files
authored
Merge pull request #41 from NobodyXu/improve-doc
Fix Safety doc for unsafe fn `Client::from_env`
2 parents b38aa02 + 8043b38 commit a66acbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ impl Client {
208208
/// with `CLOEXEC` so they're not automatically inherited by spawned
209209
/// children.
210210
///
211-
/// # Unsafety
211+
/// # Safety
212212
///
213213
/// This function is `unsafe` to call on Unix specifically as it
214214
/// transitively requires usage of the `from_raw_fd` function, which is

0 commit comments

Comments
 (0)