Fix windows typo
This commit is contained in:
parent
e225586953
commit
b349e8abc9
|
@ -191,7 +191,7 @@ mod tests {
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
fn symlink<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> Result<()> {
|
fn symlink<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> Result<()> {
|
||||||
std::os::window::fs::symlink_file(src, dst)
|
std::os::windows::fs::symlink_file(src, dst)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(not(target_os = "windows"))]
|
||||||
|
|
Loading…
Reference in New Issue