Make `runtime_dir` private

imgbot
Wojciech Kępka 3 years ago committed by Ivan Tham
parent 716067ba05
commit 4a40e935de

@ -49,7 +49,7 @@ pub fn find_root(root: Option<&str>) -> Option<std::path::PathBuf> {
} }
#[cfg(not(embed_runtime))] #[cfg(not(embed_runtime))]
pub fn runtime_dir() -> std::path::PathBuf { fn runtime_dir() -> std::path::PathBuf {
if let Ok(dir) = std::env::var("HELIX_RUNTIME") { if let Ok(dir) = std::env::var("HELIX_RUNTIME") {
return dir.into(); return dir.into();
} }

Loading…
Cancel
Save