Skip to content

Commit 1bb38fa

Browse files
committed
Fix an incorrect word in a comment.
1 parent 7cc438d commit 1bb38fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub struct OwnedHandle {
7676
/// `NULL`. This ensures that such FFI calls cannot start using the handle without
7777
/// checking for `NULL` first.
7878
///
79-
/// This type concerns any value other than `NULL` to be valid, including `INVALID_HANDLE_VALUE`.
79+
/// This type considers any value other than `NULL` to be valid, including `INVALID_HANDLE_VALUE`.
8080
/// This is because APIs that use `NULL` as their sentry value don't treat `INVALID_HANDLE_VALUE`
8181
/// as special.
8282
///
@@ -96,7 +96,7 @@ pub struct HandleOrNull(OwnedHandle);
9696
/// `INVALID_HANDLE_VALUE`. This ensures that such FFI calls cannot start using the handle without
9797
/// checking for `INVALID_HANDLE_VALUE` first.
9898
///
99-
/// This type concerns any value other than `INVALID_HANDLE_VALUE` to be valid, including `NULL`.
99+
/// This type considers any value other than `INVALID_HANDLE_VALUE` to be valid, including `NULL`.
100100
/// This is because APIs that use `INVALID_HANDLE_VALUE` as their sentry value may return `NULL`
101101
/// under `windows_subsystem = "windows"` or other situations where I/O devices are detached.
102102
///

0 commit comments

Comments
 (0)