diff options
| author | terrarier2111 <58695553+terrarier2111@users.noreply.github.com> | 2021-08-28 20:20:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-28 20:20:22 +0200 |
| commit | 3e477c1772d977589b28e09677d68a86fa4644cd (patch) | |
| tree | e3c8f139f33ead639bf2391e0cc56ed0c1800548 | |
| parent | 42a2a53ec13b0e6e915acd09a2a9a963e5fa3b92 (diff) | |
| download | rust-3e477c1772d977589b28e09677d68a86fa4644cd.tar.gz rust-3e477c1772d977589b28e09677d68a86fa4644cd.zip | |
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>( |
