diff --git a/android-activity/src/lib.rs b/android-activity/src/lib.rs index e8984fe..95dcdf4 100644 --- a/android-activity/src/lib.rs +++ b/android-activity/src/lib.rs @@ -766,7 +766,7 @@ impl AndroidApp { /// /// This must only be called from your `android_main()` thread and it may panic if called /// from another thread. - pub fn input_events_iter(&self) -> Result { + pub fn input_events_iter(&'_ self) -> Result> { let receiver = { let guard = self.inner.read().unwrap(); guard.input_events_receiver()?