Skip to content

Commit

Permalink
doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Feb 26, 2025
1 parent bc20301 commit b4522ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ tokio = "*"
unwrap-infallible = "0.1.5"
const_format = "0.2.32"
zenoh = { version = "1.2.1", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", default-features = false, features = ["internal"] }
zenoh-ext = { version = "1.2.1", git = "https://github.com/eclipse-zenoh/zenoh.git", features=["internal"], default-features = false, branch = "main" }
zenoh-ext = { version = "1.2.1", git = "https://github.com/eclipse-zenoh/zenoh.git", features=["internal"], branch = "main", default-features = false }
zenoh-runtime = { version = "1.2.1", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main" }
zenoh-util = { version = "1.2.1", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main" }
flume = "*"
Expand Down
2 changes: 1 addition & 1 deletion build-resources/opaque-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ get_opaque_type_data!(Publisher<'static>, z_loaned_publisher_t);
/// @brief An owned Zenoh matching listener.
///
/// A listener that sends notifications when the [`MatchingStatus`] of a publisher or querier changes.
/// Dropping the corresponding publisher, also drops matching listener.
/// Dropping the corresponding publisher or a querier also drops matching listener's callback.
get_opaque_type_data!(Option<MatchingListener<()>>, z_owned_matching_listener_t);

/// An owned Zenoh <a href="https://zenoh.io/docs/manual/abstractions/#subscriber"> subscriber </a>.
Expand Down
2 changes: 1 addition & 1 deletion include/zenoh_commons.h
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ z_result_t z_declare_querier(const struct z_loaned_session_t *session,
* @param callback: The callback function that will be called each time a matching query is received. Its ownership is passed to queryable.
* @param options: Options for the queryable.
*
* @return 0 in case of success, negative error code otherwise (in this case )
* @return 0 in case of success, negative error code otherwise.
*/
ZENOHC_API
z_result_t z_declare_queryable(const struct z_loaned_session_t *session,
Expand Down
2 changes: 1 addition & 1 deletion src/queryable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ fn _declare_queryable_inner<'a, 'b>(
/// @param callback: The callback function that will be called each time a matching query is received. Its ownership is passed to queryable.
/// @param options: Options for the queryable.
///
/// @return 0 in case of success, negative error code otherwise (in this case )
/// @return 0 in case of success, negative error code otherwise.
#[no_mangle]
pub extern "C" fn z_declare_queryable(
session: &z_loaned_session_t,
Expand Down

0 comments on commit b4522ce

Please sign in to comment.