@@ -84,7 +84,7 @@ impl<'a> StateSaver<'a> {
8484pub struct StateLoader < ' a > {
8585 app : & ' a AndroidAppInner ,
8686}
87- impl < ' a > StateLoader < ' a > {
87+ impl StateLoader < ' _ > {
8888 pub fn load ( & self ) -> Option < Vec < u8 > > {
8989 unsafe {
9090 let app_ptr = self . app . native_app . as_ptr ( ) ;
@@ -722,7 +722,7 @@ impl<'a> InputBuffer<'a> {
722722 }
723723}
724724
725- impl < ' a > Drop for InputBuffer < ' a > {
725+ impl Drop for InputBuffer < ' _ > {
726726 fn drop ( & mut self ) {
727727 unsafe {
728728 ffi:: android_app_clear_motion_events ( self . ptr . as_ptr ( ) ) ;
@@ -801,7 +801,7 @@ pub(crate) struct InputIteratorInner<'a> {
801801 text_event_checked : bool ,
802802}
803803
804- impl < ' a > InputIteratorInner < ' a > {
804+ impl InputIteratorInner < ' _ > {
805805 pub ( crate ) fn next < F > ( & mut self , callback : F ) -> bool
806806 where
807807 F : FnOnce ( & input:: InputEvent ) -> InputStatus ,
@@ -943,7 +943,7 @@ pub unsafe extern "C" fn _rust_glue_entry(native_app: *mut ffi::android_app) {
943943 // code to look up non-standard Java classes.
944944 android_main ( app) ;
945945 } )
946- . unwrap_or_else ( |panic| log_panic ( panic ) ) ;
946+ . unwrap_or_else ( log_panic) ;
947947
948948 // Let JVM know that our Activity can be destroyed before detaching from the JVM
949949 //
0 commit comments