We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rc
Arc
1 parent 21f53e9 commit 760f5bbCopy full SHA for 760f5bb
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