Skip to content

Commit

Permalink
FetchingSubscriber::fetch don't need mutable reference (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin authored Nov 23, 2023
1 parent 85c6f49 commit 8ebf8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh-ext/src/querying_subscriber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ impl<'a, Receiver> FetchingSubscriber<'a, Receiver> {
Fetch: FnOnce(Box<dyn Fn(TryIntoSample) + Send + Sync>) -> ZResult<()> + Send + Sync,
TryIntoSample,
>(
&mut self,
&self,
fetch: Fetch,
) -> impl Resolve<ZResult<()>>
where
Expand Down

0 comments on commit 8ebf8b8

Please sign in to comment.