cocoa-foundation: Get rid of anonymous parameter
It's an error since Rust 2018.
This commit is contained in:
@@ -611,7 +611,7 @@ pub trait NSString: Sized {
|
||||
unsafe fn init_str(self, string: &str) -> Self;
|
||||
unsafe fn UTF8String(self) -> *const libc::c_char;
|
||||
unsafe fn len(self) -> usize;
|
||||
unsafe fn isEqualToString(self, &str) -> bool;
|
||||
unsafe fn isEqualToString(self, string: &str) -> bool;
|
||||
unsafe fn substringWithRange(self, range: NSRange) -> id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user