Skip to content

Commit 42a4f5a

Browse files
authored
Fix grammar in liballoc raw_vec
1 parent 4512721 commit 42a4f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/raw_vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ impl<T, A: AllocRef> RawVec<T, A> {
315315
/// `used_capacity + needed_extra_capacity` elements. If it doesn't already,
316316
/// will reallocate the minimum possible amount of memory necessary.
317317
/// Generally this will be exactly the amount of memory necessary,
318-
/// but in principle the allocator is free to give back more than
318+
/// but in principle the allocator is free to give back more than what
319319
/// we asked for.
320320
///
321321
/// If `used_capacity` exceeds `self.capacity()`, this may fail to actually allocate

0 commit comments

Comments
 (0)