about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-04 13:49:30 +0800
committerGitHub <noreply@github.com>2017-11-04 13:49:30 +0800
commit2c293922d02303b6048a807620839b5603109d37 (patch)
tree01197683770f93fd381399c7d42bbfa38501939f /src/liballoc
parent1815265510dee8d04e13bbce14971bc247b86251 (diff)
parentbf95f9f1853dc09e7f3c667cdf22e6eb64b48a2f (diff)
downloadrust-2c293922d02303b6048a807620839b5603109d37.tar.gz
rust-2c293922d02303b6048a807620839b5603109d37.zip
Rollup merge of #45681 - Ljzn:patch-1, r=kennytm
Fix typo.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/raw_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs
index 841f9dc6414..dbf1fb1367d 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -114,7 +114,7 @@ impl<T, A: Alloc> RawVec<T, A> {
 impl<T> RawVec<T, Heap> {
     /// Creates the biggest possible RawVec (on the system heap)
     /// without allocating. If T has positive size, then this makes a
-    /// RawVec with capacity 0. If T has 0 size, then it it makes a
+    /// RawVec with capacity 0. If T has 0 size, then it makes a
     /// RawVec with capacity `usize::MAX`. Useful for implementing
     /// delayed allocation.
     pub fn new() -> Self {