We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b284627 commit 79d62beCopy full SHA for 79d62be
zenoh/src/api/session.rs
@@ -1304,7 +1304,7 @@ impl Session {
1304
/// # }
1305
/// ```
1306
#[zenoh_macros::unstable]
1307
- pub fn unregister_closing_callback<F: FnOnce()>(&self, callback_id: ClosingCallbackId) {
+ pub fn unregister_closing_callback(&self, callback_id: ClosingCallbackId) {
1308
let mut state = zwrite!(self.0.state);
1309
state.closing_callbacks.remove_callback(callback_id);
1310
}
0 commit comments