File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -612,7 +612,7 @@ pub trait NSString: Sized {
612612 unsafe fn init_str ( self , string : & str ) -> Self ;
613613 unsafe fn UTF8String ( self ) -> * const libc:: c_char ;
614614 unsafe fn len ( self ) -> usize ;
615- unsafe fn isEqualToString ( self , & str ) -> bool ;
615+ unsafe fn isEqualToString ( self , _ : & str ) -> bool ;
616616 unsafe fn substringWithRange ( self , range : NSRange ) -> id ;
617617}
618618
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ pub type CGFloat = libc::c_double;
2626#[ cfg( not( target_pointer_width = "64" ) ) ]
2727pub type CGFloat = libc:: c_float ;
2828
29- pub type CGError = libc :: int32_t ;
29+ pub type CGError = i32 ;
3030
3131pub type CGGlyph = libc:: c_ushort ;
3232
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ impl<'tap_life> CGEventTap<'tap_life> {
505505 callback_ref : Box :: from_raw ( cbr) ,
506506 } )
507507 } else {
508- Box :: from_raw ( cbr) ;
508+ let _ = Box :: from_raw ( cbr) ;
509509 Err ( ( ) )
510510 }
511511 }
You can’t perform that action at this time.
0 commit comments