diff options
| author | Cristi Cobzarenco <cristi.cobzarenco@gmail.com> | 2015-10-07 23:11:25 +0100 |
|---|---|---|
| committer | Cristi Cobzarenco <cristi.cobzarenco@gmail.com> | 2015-10-08 19:49:31 +0100 |
| commit | 4b308b44e1d8204702f6912dda4dfc404aa2a87d (patch) | |
| tree | 81656e777de1d1de896739e318645bca7317e391 /src/libstd/sys/windows | |
| parent | 95285c496f58a326eace11bddb25a7ce7adcfe44 (diff) | |
| download | rust-4b308b44e1d8204702f6912dda4dfc404aa2a87d.tar.gz rust-4b308b44e1d8204702f6912dda4dfc404aa2a87d.zip | |
typos: fix a grabbag of typos all over the place
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/mod.rs | 4 | ||||
| -rw-r--r-- | src/libstd/sys/windows/mutex.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sys/windows/mod.rs b/src/libstd/sys/windows/mod.rs index 04bb5e5ea38..85f5d4e5884 100644 --- a/src/libstd/sys/windows/mod.rs +++ b/src/libstd/sys/windows/mod.rs @@ -75,8 +75,8 @@ fn to_utf16_os(s: &OsStr) -> Vec<u16> { v } -// Many Windows APIs follow a pattern of where we hand the a buffer and then -// they will report back to us how large the buffer should be or how many bytes +// Many Windows APIs follow a pattern of where we hand a buffer and then they +// will report back to us how large the buffer should be or how many bytes // currently reside in the buffer. This function is an abstraction over these // functions by making them easier to call. // diff --git a/src/libstd/sys/windows/mutex.rs b/src/libstd/sys/windows/mutex.rs index 277c3d14c0e..b770156582d 100644 --- a/src/libstd/sys/windows/mutex.rs +++ b/src/libstd/sys/windows/mutex.rs @@ -22,7 +22,7 @@ //! more details. //! //! 3. While CriticalSection is fair and SRWLock is not, the current Rust policy -//! is there there are no guarantees of fairness. +//! is that there are no guarantees of fairness. //! //! The downside of this approach, however, is that SRWLock is not available on //! Windows XP, so we continue to have a fallback implementation where |
