Fix outdated comment

Comment referenced NoDrop which is no longer used.
This commit is contained in:
Phlosioneer
2019-11-20 02:03:05 -05:00
committed by GitHub
parent fc6664c540
commit 33d5d2ed96
+1 -3
View File
@@ -81,9 +81,7 @@ impl<A: Array> Drop for ArrayVec<A> {
fn drop(&mut self) { fn drop(&mut self) {
self.clear(); self.clear();
// NoDrop inhibits array's drop // MaybeUninit inhibits array's drop
// panic safety: NoDrop::drop will trigger on panic, so the inner
// array will not drop even after panic.
} }
} }