diff --git a/Cargo.lock b/Cargo.lock index 193460c4..8e23f7b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -848,7 +848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "starship" -version = "0.34.0" +version = "0.34.1" dependencies = [ "ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "battery 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index c375381b..cda1d110 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starship" -version = "0.34.0" +version = "0.34.1" edition = "2018" authors = ["Matan Kushner "] homepage = "https://starship.rs" diff --git a/src/context.rs b/src/context.rs index 6faa7884..46c51177 100644 --- a/src/context.rs +++ b/src/context.rs @@ -177,10 +177,6 @@ pub struct DirContents { } impl DirContents { - fn from_path(base: &PathBuf) -> Result { - Self::from_path_with_timeout(base, Duration::from_secs(30)) - } - fn from_path_with_timeout(base: &PathBuf, timeout: Duration) -> Result { let start = SystemTime::now();