diff options
| author | Ali Malik <mikli@amazon.com> | 2021-07-23 19:14:28 -0400 |
|---|---|---|
| committer | Ali Malik <mikli@amazon.com> | 2021-07-29 01:15:20 -0400 |
| commit | e43254aad1ea5758078ace51341f31071e1e61a8 (patch) | |
| tree | 2dff253d1ded27a831d8ad773d5b0df8ae72666b /library/std/src/sys | |
| parent | 85237886df31ba237acd3b7912336704026813f5 (diff) | |
| download | rust-e43254aad1ea5758078ace51341f31071e1e61a8.tar.gz rust-e43254aad1ea5758078ace51341f31071e1e61a8.zip | |
Fix may not to appropriate might not or must not
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/windows/mutex.rs | 2 | ||||
| -rw-r--r-- | library/std/src/sys/windows/stdio.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/mutex.rs b/library/std/src/sys/windows/mutex.rs index 12c5ea741f9..56f91ebe582 100644 --- a/library/std/src/sys/windows/mutex.rs +++ b/library/std/src/sys/windows/mutex.rs @@ -1,6 +1,6 @@ //! System Mutexes //! -//! The Windows implementation of mutexes is a little odd and it may not be +//! The Windows implementation of mutexes is a little odd and it might not be //! immediately obvious what's going on. The primary oddness is that SRWLock is //! used instead of CriticalSection, and this is done because: //! diff --git a/library/std/src/sys/windows/stdio.rs b/library/std/src/sys/windows/stdio.rs index be3141e46a1..2973951fe90 100644 --- a/library/std/src/sys/windows/stdio.rs +++ b/library/std/src/sys/windows/stdio.rs @@ -169,7 +169,7 @@ impl io::Read for Stdin { // We assume that if the last `u16` is an unpaired surrogate they got sliced apart by our // buffer size, and keep it around for the next read hoping to put them together. -// This is a best effort, and may not work if we are not the only reader on Stdin. +// This is a best effort, and might not work if we are not the only reader on Stdin. fn read_u16s_fixup_surrogates( handle: c::HANDLE, buf: &mut [u16], |
