Skip to content

Commit

Permalink
Add missing #[may_dangle]
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Nov 26, 2018
1 parent c6f29b3 commit cfd3225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/collections/hash/raw/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ impl<T: Clone> Clone for RawTable<T> {
}
}

impl<T> Drop for RawTable<T> {
unsafe impl<#[may_dangle] T> Drop for RawTable<T> {
#[inline]
fn drop(&mut self) {
if self.bucket_mask != 0 {
Expand Down

0 comments on commit cfd3225

Please sign in to comment.