diff --git a/src/primary_selection/offer.rs b/src/primary_selection/offer.rs index b3ad9c28e..546dfd453 100644 --- a/src/primary_selection/offer.rs +++ b/src/primary_selection/offer.rs @@ -10,7 +10,7 @@ use crate::data_device_manager::ReadPipe; use super::PrimarySelectionManagerState; -/// RAII wrapper around the [`ZwpPrimarySelectionOfferV1`]. +/// Wrapper around the [`ZwpPrimarySelectionOfferV1`]. #[derive(Debug, Clone, PartialEq, Eq)] pub struct PrimarySelectionOffer { pub(crate) offer: ZwpPrimarySelectionOfferV1, @@ -54,12 +54,6 @@ impl PrimarySelectionOffer { } } -impl Drop for PrimarySelectionOffer { - fn drop(&mut self) { - self.offer.destroy(); - } -} - impl Dispatch for PrimarySelectionManagerState where