From 4b308b44e1d8204702f6912dda4dfc404aa2a87d Mon Sep 17 00:00:00 2001 From: Cristi Cobzarenco Date: Wed, 7 Oct 2015 23:11:25 +0100 Subject: typos: fix a grabbag of typos all over the place --- src/libstd/sys/common/wtf8.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/sys/common') 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) } -- cgit 1.4.1-3-g733a5