diff --git a/zenoh-ext/src/querying_subscriber.rs b/zenoh-ext/src/querying_subscriber.rs index 082d00e10f..1083c111c4 100644 --- a/zenoh-ext/src/querying_subscriber.rs +++ b/zenoh-ext/src/querying_subscriber.rs @@ -778,7 +778,7 @@ impl<'a, Receiver> FetchingSubscriber<'a, Receiver> { Fetch: FnOnce(Box) -> ZResult<()> + Send + Sync, TryIntoSample, >( - &mut self, + &self, fetch: Fetch, ) -> impl Resolve> where