cocoa-foundation: Get rid of anonymous parameter

It's an error since Rust 2018.
This commit is contained in:
michaelwright235
2023-06-06 16:34:49 +03:00
parent 2c9551d94a
commit 6b252cf1fc
+1 -1
View File
@@ -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;
}