aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}