Skip to content

Commit c7e0ef5

Browse files
committed
Fix an incorrect word in a comment.
1 parent 61273b7 commit c7e0ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/os/windows/io/handle.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub struct OwnedHandle {
7575
/// `NULL`. This ensures that such FFI calls cannot start using the handle without
7676
/// checking for `NULL` first.
7777
///
78-
/// This type concerns any value other than `NULL` to be valid, including `INVALID_HANDLE_VALUE`.
78+
/// This type considers any value other than `NULL` to be valid, including `INVALID_HANDLE_VALUE`.
7979
/// This is because APIs that use `NULL` as their sentry value don't treat `INVALID_HANDLE_VALUE`
8080
/// as special.
8181
///
@@ -95,7 +95,7 @@ pub struct HandleOrNull(OwnedHandle);
9595
/// `INVALID_HANDLE_VALUE`. This ensures that such FFI calls cannot start using the handle without
9696
/// checking for `INVALID_HANDLE_VALUE` first.
9797
///
98-
/// This type concerns any value other than `INVALID_HANDLE_VALUE` to be valid, including `NULL`.
98+
/// This type considers any value other than `INVALID_HANDLE_VALUE` to be valid, including `NULL`.
9999
/// This is because APIs that use `INVALID_HANDLE_VALUE` as their sentry value may return `NULL`
100100
/// under `windows_subsystem = "windows"` or other situations where I/O devices are detached.
101101
///

0 commit comments

Comments
 (0)