Fix windows typo

This commit is contained in:
ifeanyi 2020-09-09 17:57:45 +02:00
parent e225586953
commit b349e8abc9
1 changed files with 1 additions and 1 deletions

View File

@ -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"))]