about summary refs log tree commit diff
path: root/src/libstd/sys/common
diff options
context:
space:
mode:
authorCristi Cobzarenco <cristi.cobzarenco@gmail.com>2015-10-07 23:11:25 +0100
committerCristi Cobzarenco <cristi.cobzarenco@gmail.com>2015-10-08 19:49:31 +0100
commit4b308b44e1d8204702f6912dda4dfc404aa2a87d (patch)
tree81656e777de1d1de896739e318645bca7317e391 /src/libstd/sys/common
parent95285c496f58a326eace11bddb25a7ce7adcfe44 (diff)
downloadrust-4b308b44e1d8204702f6912dda4dfc404aa2a87d.tar.gz
rust-4b308b44e1d8204702f6912dda4dfc404aa2a87d.zip
typos: fix a grabbag of typos all over the place
Diffstat (limited to 'src/libstd/sys/common')
-rw-r--r--src/libstd/sys/common/wtf8.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/common/wtf8.rs b/src/libstd/sys/common/wtf8.rs
index 10f77d0207c..a6eada832cd 100644
--- a/src/libstd/sys/common/wtf8.rs
+++ b/src/libstd/sys/common/wtf8.rs
@@ -146,13 +146,13 @@ impl fmt::Debug for Wtf8Buf {
 }
 
 impl Wtf8Buf {
-    /// Creates an new, empty WTF-8 string.
+    /// Creates a new, empty WTF-8 string.
     #[inline]
     pub fn new() -> Wtf8Buf {
         Wtf8Buf { bytes: Vec::new() }
     }
 
-    /// Creates an new, empty WTF-8 string with pre-allocated capacity for `n` bytes.
+    /// Creates a new, empty WTF-8 string with pre-allocated capacity for `n` bytes.
     #[inline]
     pub fn with_capacity(n: usize) -> Wtf8Buf {
         Wtf8Buf { bytes: Vec::with_capacity(n) }