1
Fork 0

Fix typo.

This commit is contained in:
Lance John 2017-11-01 21:02:08 +08:00 committed by GitHub
parent 2f581cf9d6
commit bf95f9f185
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {