Skip to content

Commit eef4640

Browse files
committed
Adjust safety note of from_raw_fd.
1 parent c0700f7 commit eef4640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver/iocp/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub trait FromRawFd {
5858
/// The `fd` passed in must:
5959
/// - be a valid open handle or socket,
6060
/// - be opened with `FILE_FLAG_OVERLAPPED` if it's a file handle,
61-
/// - have been attached to a driver.
61+
/// - have not been attached to a driver.
6262
unsafe fn from_raw_fd(fd: RawFd) -> Self;
6363
}
6464

0 commit comments

Comments
 (0)