From a275ec904c65094d796fe11f2d700724e19912c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Bezerra?= Date: Thu, 8 Aug 2024 18:09:59 -0300 Subject: [PATCH] chore: fix rust-analyzer issue --- src/infra/build_info.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infra/build_info.rs b/src/infra/build_info.rs index 7b37b4cbf..d9dd18710 100644 --- a/src/infra/build_info.rs +++ b/src/infra/build_info.rs @@ -21,8 +21,8 @@ pub const RUST_VERSION: &str = env!("VERGEN_RUSTC_SEMVER"); pub const RUST_CHANNEL: &str = env!("VERGEN_RUSTC_CHANNEL"); pub const RUST_TARGET: &str = env!("VERGEN_RUSTC_HOST_TRIPLE"); -const VERSION_WITH_BRANCH: &str = const_format::formatcp!("{}::{}", GIT_BRANCH, GIT_COMMIT); -const VERSION_WITH_DESCRIBE: &str = const_format::formatcp!("{}::{}", GIT_DESCRIBE, GIT_COMMIT); +const VERSION_WITH_BRANCH: &str = const_format::formatcp!("{GIT_BRANCH}::{GIT_COMMIT}"); +const VERSION_WITH_DESCRIBE: &str = const_format::formatcp!("{GIT_DESCRIBE}::{GIT_COMMIT}"); /// Returns the current service name. ///