diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2022-03-27 16:53:56 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2022-04-18 16:53:38 -0700 |
| commit | 5b3023c56420ce55d8b6761ea557fd4d6f579bdf (patch) | |
| tree | fd74924e29e087bd569919cac0fd88de9c182fd6 | |
| parent | 703a33673de30572960eb3fe2c36a0f51083d226 (diff) | |
| download | rust-5b3023c56420ce55d8b6761ea557fd4d6f579bdf.tar.gz rust-5b3023c56420ce55d8b6761ea557fd4d6f579bdf.zip | |
Fix an incorrect word in a comment.
| -rw-r--r-- | library/std/src/os/windows/io/handle.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/os/windows/io/handle.rs b/library/std/src/os/windows/io/handle.rs index 1fb448be5de..1bed22a4ce5 100644 --- a/library/std/src/os/windows/io/handle.rs +++ b/library/std/src/os/windows/io/handle.rs @@ -76,7 +76,7 @@ pub struct OwnedHandle { /// `NULL`. This ensures that such FFI calls cannot start using the handle without /// checking for `NULL` first. /// -/// This type concerns any value other than `NULL` to be valid, including `INVALID_HANDLE_VALUE`. +/// This type considers any value other than `NULL` to be valid, including `INVALID_HANDLE_VALUE`. /// This is because APIs that use `NULL` as their sentry value don't treat `INVALID_HANDLE_VALUE` /// as special. /// @@ -96,7 +96,7 @@ pub struct HandleOrNull(OwnedHandle); /// `INVALID_HANDLE_VALUE`. This ensures that such FFI calls cannot start using the handle without /// checking for `INVALID_HANDLE_VALUE` first. /// -/// This type concerns any value other than `INVALID_HANDLE_VALUE` to be valid, including `NULL`. +/// This type considers any value other than `INVALID_HANDLE_VALUE` to be valid, including `NULL`. /// This is because APIs that use `INVALID_HANDLE_VALUE` as their sentry value may return `NULL` /// under `windows_subsystem = "windows"` or other situations where I/O devices are detached. /// |
