Skip to content

Commit 79d62be

Browse files
committed
typo
1 parent b284627 commit 79d62be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zenoh/src/api/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ impl Session {
13041304
/// # }
13051305
/// ```
13061306
#[zenoh_macros::unstable]
1307-
pub fn unregister_closing_callback<F: FnOnce()>(&self, callback_id: ClosingCallbackId) {
1307+
pub fn unregister_closing_callback(&self, callback_id: ClosingCallbackId) {
13081308
let mut state = zwrite!(self.0.state);
13091309
state.closing_callbacks.remove_callback(callback_id);
13101310
}

0 commit comments

Comments
 (0)