From 4a40e935de4d650bd61fb2a5ec6be1c3153c8606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20K=C4=99pka?= Date: Sat, 12 Jun 2021 08:59:50 +0200 Subject: [PATCH] Make `runtime_dir` private --- helix-core/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } #[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(); }