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 {
623
623
unsafe fn init_str ( self , string : & str ) -> Self ;
624
624
unsafe fn UTF8String ( self ) -> * const libc:: c_char ;
625
625
unsafe fn len ( self ) -> usize ;
626
- unsafe fn isEqualToString ( self , & str ) -> bool ;
626
+ unsafe fn isEqualToString ( self , _ : & str ) -> bool ;
627
627
unsafe fn substringWithRange ( self , range : NSRange ) -> id ;
628
628
}
629
629
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ pub type CGFloat = libc::c_double;
26
26
#[ cfg( not( target_pointer_width = "64" ) ) ]
27
27
pub type CGFloat = libc:: c_float ;
28
28
29
- pub type CGError = libc :: int32_t ;
29
+ pub type CGError = i32 ;
30
30
31
31
pub type CGGlyph = libc:: c_ushort ;
32
32
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ impl<'tap_life> CGEventTap<'tap_life> {
505
505
callback_ref : Box :: from_raw ( cbr) ,
506
506
} )
507
507
} else {
508
- Box :: from_raw ( cbr) ;
508
+ let _ = Box :: from_raw ( cbr) ;
509
509
Err ( ( ) )
510
510
}
511
511
}
You can’t perform that action at this time.
0 commit comments