We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Rc
Arc
1 parent e1aba75 commit 34076bcCopy full SHA for 34076bc
src/liballoc/arc.rs
@@ -550,6 +550,7 @@ impl<T: ?Sized> Drop for Arc<T> {
550
///
551
/// } // implicit drop
552
/// ```
553
+ #[unsafe_destructor_blind_to_params]
554
#[inline]
555
fn drop(&mut self) {
556
// This structure has #[unsafe_no_drop_flag], so this drop glue may run
src/liballoc/rc.rs
@@ -451,6 +451,7 @@ impl<T: ?Sized> Drop for Rc<T> {
451
452
453
454
455
456
unsafe {
457
let ptr = *self._ptr;
0 commit comments