We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 465a834 commit d077075Copy full SHA for d077075
1 file changed
rustler/src/resource/traits.rs
@@ -57,7 +57,7 @@ pub trait Resource: Sized + Send + Sync + 'static {
57
/// - event is the OS event
58
/// - is_direct_call is true if the call is made directly from enif_select or false if it is a scheduled call (potentially from another thread).
59
#[allow(unused_mut, unused)]
60
- fn stop(mut self, env: Env<'_>, event: Event, direct_call: bool) {}
+ fn stop<'a>(&'a self, env: Env<'a>, event: Event, direct_call: bool) {}
61
62
/// Callback function to handle process monitoring.
63
///
0 commit comments