diff --git a/crates/notion-core/src/path/windows.rs b/crates/notion-core/src/path/windows.rs index 5f9f18c6a..ddb3891a1 100644 --- a/crates/notion-core/src/path/windows.rs +++ b/crates/notion-core/src/path/windows.rs @@ -2,7 +2,7 @@ //! in a standard Notion layout in Windows operating systems. use std::path::PathBuf; -use std::os::windows; +use std::os; use std::io; use winfolder; @@ -158,5 +158,5 @@ pub fn user_catalog_file() -> Fallible { } pub fn create_file_symlink(src: PathBuf, dst: PathBuf) -> Result<(), io::Error> { - windows::fs::symlink_file(src, dst) + os::windows::fs::symlink_file(src, dst) }