Skip to content

Commit 83f659b

Browse files
committed
formatting
1 parent 9e9881b commit 83f659b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/raw_vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl<T, A: Allocator> RawVec<T, A> {
168168

169169
#[cfg(not(no_global_oom_handling))]
170170
fn allocate_in(capacity: usize, init: AllocInit, alloc: A) -> Self {
171-
// Don't allocate here because `Drop` will not deallocate when `capacity` is 0.
171+
// Don't allocate here because `Drop` will not deallocate when `capacity` is 0.
172172
if mem::size_of::<T>() == 0 || capacity == 0 {
173173
Self::new_in(alloc)
174174
} else {

0 commit comments

Comments
 (0)