Skip to content

Commit

Permalink
Merge pull request rust-lang#8 from lzutao/fix-windows-ci
Browse files Browse the repository at this point in the history
Fix windows build failure
  • Loading branch information
brson authored Aug 8, 2019
2 parents 2f74993 + 64de940 commit ddad9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn home_dir_() -> Option<PathBuf> {
return None;
}
let _g = scopeguard::guard(token, |h| {
let _ = CloseHandle(*h);
let _ = CloseHandle(h);
});
fill_utf16_buf(
|buf, mut sz| {
Expand Down

0 comments on commit ddad9bf

Please sign in to comment.