diff options
| author | SparkyPotato <noob.sparkypotato@gmail.com> | 2022-04-06 01:36:46 +0530 |
|---|---|---|
| committer | SparkyPotato <noob.sparkypotato@gmail.com> | 2022-04-06 01:36:46 +0530 |
| commit | 83f659b4bb2212037ec62028b1979ec31d956fdd (patch) | |
| tree | 29043b5268fa6f9bc4af0c0229eac459d6f9dc41 | |
| parent | 9e9881bcd803390bfbc1e3b1c64ad66330b01103 (diff) | |
| download | rust-83f659b4bb2212037ec62028b1979ec31d956fdd.tar.gz rust-83f659b4bb2212037ec62028b1979ec31d956fdd.zip | |
formatting
| -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 f73b3866c9c..9dbac3c36ff 100644 --- a/library/alloc/src/raw_vec.rs +++ b/library/alloc/src/raw_vec.rs @@ -168,7 +168,7 @@ impl<T, A: Allocator> RawVec<T, A> { #[cfg(not(no_global_oom_handling))] fn allocate_in(capacity: usize, init: AllocInit, alloc: A) -> Self { - // Don't allocate here because `Drop` will not deallocate when `capacity` is 0. + // Don't allocate here because `Drop` will not deallocate when `capacity` is 0. if mem::size_of::<T>() == 0 || capacity == 0 { Self::new_in(alloc) } else { |
