on master help sign in
Make `runtime_dir` private
commit4a40e935de4d650bd61fb2a5ec6be1c3153c8606 authorWojciech Kępka <wojtek.kepka@protonmail.com> dateSat 12 Jun 2021, 08:59 (5 years ago) parent716067b
1 file changed+1−1
helix-core/src/lib.rs+1−1
helix-core/src/lib.rs+1−1
@@ -49,7 +49,7 @@ pub fn find_root(root: Option<&str>) -> Option<std::path::PathBuf> {
4949}
5050
5151#[cfg(not(embed_runtime))]
52−pub fn runtime_dir() -> std::path::PathBuf {
52+fn runtime_dir() -> std::path::PathBuf {
5353 if let Ok(dir) = std::env::var("HELIX_RUNTIME") {
5454 return dir.into();
5555 }