Skip to content

Commit 2205640

Browse files
committed
fix build error on Windows
1 parent 7d93497 commit 2205640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn check_msvc_version() {
2525
use winreg::enums::*;
2626
// if users msvc version less than 14.44, print a warning
2727

28-
fn get_vc_redist_version(arch: &str) -> io::Result<Option<String>> {
28+
fn get_vc_redist_version(arch: &str) -> std::io::Result<Option<String>> {
2929
// arch: "x64" or "x86"
3030
let hklm = RegKey::predef(HKEY_LOCAL_MACHINE);
3131
let key_path = format!(

0 commit comments

Comments
 (0)