aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorWojciech Kępka2021-06-12 06:59:50 +0000
committerIvan Tham2021-06-12 09:26:41 +0000
commit4a40e935de4d650bd61fb2a5ec6be1c3153c8606 (patch)
tree0d271f572b6ed76ff4e120ae6cab80a6eddeb4fc /helix-core
parent716067ba05d18ffe8fc0454a14ab75bf6e35086c (diff)
Make `runtime_dir` private
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index 3394859b..3e3d0fa2 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -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();
}