Skip to content

Commit 3ee22d3

Browse files
hakolaoamodm
authored andcommitted
Fix typos & missing imports
1 parent 3168e85 commit 3ee22d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ios.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{Error, ErrorKind, Result};
1+
use crate::{Browser, BrowserOptions, Error, ErrorKind, Result};
22
use objc::{class, msg_send, runtime::Object, sel, sel_impl};
33

44
/// Deal with opening of browsers on iOS
@@ -12,9 +12,9 @@ pub fn open_browser_internal(
1212
if _options.dry_run {
1313
return Ok(());
1414
}
15-
let url_s: String = match url::Url::parse(url_raw) {
15+
let url_s: String = match url::Url::parse(url) {
1616
Ok(u) => u.as_str().into(),
17-
Err(_) => url_raw.into(),
17+
Err(_) => url.into(),
1818
};
1919
unsafe {
2020
let app: *mut Object = msg_send![class!(UIApplication), sharedApplication];

0 commit comments

Comments
 (0)