diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-09-05 10:32:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-05 10:32:21 +0200 |
| commit | 22dd6a4e30c9f4ddcafa3e2a536658bd15dc1a8d (patch) | |
| tree | 9eb0306c2fb6a3b0a3d4a19fdfeaa94fcaaa6655 | |
| parent | c1ccc1b3ff432755f89c6896647fc5d50d03053b (diff) | |
| parent | 3e477c1772d977589b28e09677d68a86fa4644cd (diff) | |
| download | rust-22dd6a4e30c9f4ddcafa3e2a536658bd15dc1a8d.tar.gz rust-22dd6a4e30c9f4ddcafa3e2a536658bd15dc1a8d.zip | |
Rollup merge of #88432 - terrarier2111:patch-1, r=joshtriplett
Fix a typo in raw_vec
| -rw-r--r-- | library/alloc/src/raw_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/raw_vec.rs b/library/alloc/src/raw_vec.rs index 3caada06f6b..be21018512d 100644 --- a/library/alloc/src/raw_vec.rs +++ b/library/alloc/src/raw_vec.rs @@ -323,7 +323,7 @@ impl<T, A: Allocator> RawVec<T, A> { pub fn reserve(&mut self, len: usize, additional: usize) { // Callers expect this function to be very cheap when there is already sufficient capacity. // Therefore, we move all the resizing and error-handling logic from grow_amortized and - // handle_reserve behind a call, while making sure that the this function is likely to be + // handle_reserve behind a call, while making sure that this function is likely to be // inlined as just a comparison and a call if the comparison fails. #[cold] fn do_reserve_and_handle<T, A: Allocator>( |
