diff --git a/crates/nu-path/src/lib.rs b/crates/nu-path/src/lib.rs index d59f71682b..fdf28b3bc0 100644 --- a/crates/nu-path/src/lib.rs +++ b/crates/nu-path/src/lib.rs @@ -14,6 +14,6 @@ pub use components::components; pub use expansions::{canonicalize_with, expand_path_with, expand_to_real_path, locate_in_dirs}; pub use helpers::{cache_dir, data_dir, home_dir, nu_config_dir}; pub use path::*; -pub use pwd_per_drive::pwd_per_drive_singleton::{set_pwd_per_drive, expand_pwd_per_drive}; +pub use pwd_per_drive::pwd_per_drive_singleton::{expand_pwd_per_drive, set_pwd_per_drive}; pub use tilde::expand_tilde; pub use trailing_slash::{has_trailing_slash, strip_trailing_slash}; diff --git a/crates/nu-path/src/pwd_per_drive.rs b/crates/nu-path/src/pwd_per_drive.rs index 2b262c0840..248ebb545f 100644 --- a/crates/nu-path/src/pwd_per_drive.rs +++ b/crates/nu-path/src/pwd_per_drive.rs @@ -235,7 +235,7 @@ mod tests { /// /// ``` /// use std::path::{Path, PathBuf}; -/// use nu_path::{set_pwd_per_drive, expand_pwd_per_drive}; +/// use nu_path::{expand_pwd_per_drive, set_pwd_per_drive}; /// /// //assert!(false); // Comment out to verify really tested /// if cfg!(windows) {