Replace dirs and directories with maintained (#2949)

This commit is contained in:
Caden Haustein
2021-01-19 20:24:27 +00:00
committed by GitHub
parent 2e6d836dd1
commit 430da53f0b
11 changed files with 389 additions and 302 deletions

View File

@ -72,7 +72,7 @@ impl FilesystemShell {
pub fn homedir_if_possible() -> Option<PathBuf> {
#[cfg(feature = "dirs")]
{
dirs::home_dir()
dirs_next::home_dir()
}
#[cfg(not(feature = "dirs"))]

View File

@ -144,7 +144,7 @@ impl Shell for HelpShell {
fn homedir(&self) -> Option<PathBuf> {
#[cfg(feature = "dirs")]
{
dirs::home_dir()
dirs_next::home_dir()
}
#[cfg(not(feature = "dirs"))]