Skip to content

Commit 3095e0e

Browse files
authored
Merge pull request #146 from Phlosioneer/patch-1
Fix outdated comment
2 parents fc6664c + 33d5d2e commit 3095e0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ impl<A: Array> Drop for ArrayVec<A> {
8181
fn drop(&mut self) {
8282
self.clear();
8383

84-
// NoDrop inhibits array's drop
85-
// panic safety: NoDrop::drop will trigger on panic, so the inner
86-
// array will not drop even after panic.
84+
// MaybeUninit inhibits array's drop
8785
}
8886
}
8987

0 commit comments

Comments
 (0)