Skip to content

Commit

Permalink
Remove the comment about FILE_FLAG_OVERLAPPED.
Browse files Browse the repository at this point in the history
There may eventually be something to say about `FILE_FLAG_OVERLAPPED` here,
however this appears to be independent of the other changes in this PR,
so remove them from this PR so that it can be discussed separately.
  • Loading branch information
sunfishcode committed Mar 3, 2022
1 parent af642bb commit 8253cfe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/std/src/os/windows/io/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ pub trait FromRawHandle {
///
/// The `handle` passed in must:
/// - be a valid an open handle,
/// - be a handle opened for synchronous I/O, *without* the
/// `FILE_FLAG_OVERLAPPED` flag, and
/// - be a handle for a resource that may be freed via [`CloseHandle`]
/// (as opposed to `RegCloseKey` or other close functions).
///
Expand Down

0 comments on commit 8253cfe

Please sign in to comment.