Rollup merge of #45681 - Ljzn:patch-1, r=kennytm

Fix typo.
This commit is contained in:
kennytm 2017-11-04 13:49:30 +08:00 committed by GitHub
commit 2c293922d0
1 changed files with 1 additions and 1 deletions

View File

@ -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 {