From 9c39578bea62e9f2f12b23cabfd50bf1c828d8c4 Mon Sep 17 00:00:00 2001 From: someoneonsmile Date: Sun, 13 Aug 2023 13:04:18 +0800 Subject: [PATCH] fix: use const instandof static --- src/constants.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants.rs b/src/constants.rs index 4c24ef3..5b675db 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,3 +1,3 @@ -pub(crate) static PACK_NAME_ENV: &str = "PACK_NAME"; +pub(crate) const PACK_NAME_ENV: &str = "PACK_NAME"; -pub(crate) static CONFIG_FILE_NAME: &str = "stow-cm.toml"; +pub(crate) const CONFIG_FILE_NAME: &str = "stow-cm.toml";