We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76a217 commit 44908caCopy full SHA for 44908ca
src/ios.rs
@@ -63,6 +63,7 @@ pub(super) fn open_browser_internal(
63
// Create ns string class from our string
64
let url_string = NSString::from_str(url);
65
// Create NSURL object with given string
66
+ #[allow(unused_unsafe)] // fix lint for now, eventually remove unsafe
67
let url_object = unsafe { NSURL::URLWithString(&url_string) }.ok_or(Error::new(
68
ErrorKind::Other,
69
"Failed creating NSURL; is the URL valid?",
0 commit comments