Skip to content

Commit 44908ca

Browse files
committed
ios: fix lint for objc2 invocation #build-ios
1 parent b76a217 commit 44908ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ios.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pub(super) fn open_browser_internal(
6363
// Create ns string class from our string
6464
let url_string = NSString::from_str(url);
6565
// Create NSURL object with given string
66+
#[allow(unused_unsafe)] // fix lint for now, eventually remove unsafe
6667
let url_object = unsafe { NSURL::URLWithString(&url_string) }.ok_or(Error::new(
6768
ErrorKind::Other,
6869
"Failed creating NSURL; is the URL valid?",

0 commit comments

Comments
 (0)