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 @@ -623,7 +623,7 @@ pub trait NSString: Sized {
623623 unsafe fn init_str ( self , string : & str ) -> Self ;
624624 unsafe fn UTF8String ( self ) -> * const libc:: c_char ;
625625 unsafe fn len ( self ) -> usize ;
626- unsafe fn isEqualToString ( self , & str ) -> bool ;
626+ unsafe fn isEqualToString ( self , _ : & str ) -> bool ;
627627 unsafe fn substringWithRange ( self , range : NSRange ) -> id ;
628628}
629629
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