Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 8669570

Browse files
committed
Merge pull request #90 from tomaka/patch-1
Fix compilation error on Windows
2 parents ec79f96 + 6c1d075 commit 8669570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ impl Decodable for path::PathBuf {
579579
use std::os::windows::prelude::*;
580580
let bytes: Vec<u16> = try!(Decodable::decode(d));
581581
let s: OsString = OsStringExt::from_wide(&bytes);
582-
let mut p = PathBuf::new();
582+
let mut p = path::PathBuf::new();
583583
p.push(s);
584584
Ok(p)
585585
}

0 commit comments

Comments
 (0)