about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-29 20:21:24 +0200
committerGitHub <noreply@github.com>2020-05-29 20:21:24 +0200
commit510793bcb3fb697dfa5cafdc706811bced939b06 (patch)
tree2284a7869551fb0469a91932ef55a557010f6cd9 /src/liballoc
parented80e8e3e0d042dbcb5c24ef3593acab55d862e2 (diff)
parent42a4f5ac50821d0a82c9593f049a2c3f21e922e9 (diff)
downloadrust-510793bcb3fb697dfa5cafdc706811bced939b06.tar.gz
rust-510793bcb3fb697dfa5cafdc706811bced939b06.zip
Rollup merge of #72701 - pickfire:patch-1, r=Mark-Simulacrum
Fix grammar in liballoc raw_vec
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 2bd4733db42..56e284a12fa 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -315,7 +315,7 @@ impl<T, A: AllocRef> RawVec<T, A> {
     /// `used_capacity + needed_extra_capacity` elements. If it doesn't already,
     /// will reallocate the minimum possible amount of memory necessary.
     /// Generally this will be exactly the amount of memory necessary,
-    /// but in principle the allocator is free to give back more than
+    /// but in principle the allocator is free to give back more than what
     /// we asked for.
     ///
     /// If `used_capacity` exceeds `self.capacity()`, this may fail to actually allocate