Skip to content

Commit

Permalink
fix: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Aug 28, 2024
1 parent 6978e47 commit 11325d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/api/queryable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ impl<'a, 'b, Handler> QueryableBuilder<'a, 'b, Handler> {
/// let (tx, rx) = flume::bounded(32);
/// session
/// .declare_queryable("key/expression")
/// .callback(|query| tx.send(query).unwrap())
/// .callback(move |query| tx.send(query).unwrap())
/// .await
/// .unwrap();
/// // queryable run in background until the session is closed
Expand Down

0 comments on commit 11325d7

Please sign in to comment.