diff --git a/zenoh/src/api/subscriber.rs b/zenoh/src/api/subscriber.rs index 099a1d174..75d9ab5fb 100644 --- a/zenoh/src/api/subscriber.rs +++ b/zenoh/src/api/subscriber.rs @@ -189,6 +189,9 @@ impl Subscriber { /// Undeclare the [`Subscriber`]. /// + /// This subscriber's [`crate::handlers::Callback`] will be dropped as part of the + /// undeclaration. + /// /// # Examples /// ``` /// # #[tokio::main]