Make runtime_dir private

This commit is contained in:
Wojciech Kępka 2021-06-12 08:59:50 +02:00 committed by Ivan Tham
parent 716067ba05
commit 4a40e935de

View file

@ -49,7 +49,7 @@ pub fn find_root(root: Option<&str>) -> Option<std::path::PathBuf> {
}
#[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") {
return dir.into();
}