Skip to content

Commit 8c9338c

Browse files
hrydgardamodm
authored andcommitted
fmt fix
1 parent d0c8044 commit 8c9338c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ pub fn open_browser(browser: Browser, url: &str) -> Result<Output> {
186186
#[cfg(target_os = "windows")]
187187
#[inline]
188188
fn open_browser_internal(browser: Browser, url: &str) -> Result<ExitStatus> {
189+
use winapi::shared::winerror::SUCCEEDED;
189190
use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize};
190191
use winapi::um::objbase::{COINIT_APARTMENTTHREADED, COINIT_DISABLE_OLE1DDE};
191192
use winapi::um::shellapi::ShellExecuteW;
192193
use winapi::um::winuser::SW_SHOWNORMAL;
193-
use winapi::shared::winerror::SUCCEEDED;
194194
match browser {
195195
Browser::Default => {
196196
static OPEN: &[u16] = &['o' as u16, 'p' as u16, 'e' as u16, 'n' as u16, 0x0000];

0 commit comments

Comments
 (0)