From b80ed4fef2d45b57eaa0e634f14d7f502faaeab3 Mon Sep 17 00:00:00 2001 From: Adriano Di Luzio Date: Sun, 18 Feb 2024 11:15:50 +0100 Subject: [PATCH] Fix string interpolation --- src/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.rs b/src/env.rs index ed099f4..8456c8b 100644 --- a/src/env.rs +++ b/src/env.rs @@ -160,7 +160,7 @@ pub fn base_path() -> &'static BasePath { if path.ends_with('/') { BasePath(path.to_string()) } else { - BasePath("${path}/".to_string()) + BasePath(format!("{path}/")) } } Err(err) => {