From bb5a08dfb2f6e4b3e5fb05b953c44ea4890a6583 Mon Sep 17 00:00:00 2001 From: Joseph Perez Date: Tue, 8 Oct 2024 17:02:28 +0200 Subject: [PATCH] fix: fix unstable import --- zenoh/src/api/publisher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenoh/src/api/publisher.rs b/zenoh/src/api/publisher.rs index a5676f61f..8ec3ca08d 100644 --- a/zenoh/src/api/publisher.rs +++ b/zenoh/src/api/publisher.rs @@ -610,7 +610,7 @@ impl<'a, 'b> MatchingListenerBuilder<'a, 'b, DefaultHandler> { where F: FnMut(MatchingStatus) + Send + Sync + 'static, { - self.callback(crate::handlers::locked(callback)) + self.callback(crate::api::handlers::locked(callback)) } /// Receive the MatchingStatuses for this listener with a [`Handler`](IntoHandler).