From cec5a260e5410223a00b572fcea219d1ff43c7ef Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 1 Jun 2020 18:03:59 +1000 Subject: [PATCH] fix \n in buildhash --- rslib/src/version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/version.rs b/rslib/src/version.rs index 1fe7c72f9..353da6319 100644 --- a/rslib/src/version.rs +++ b/rslib/src/version.rs @@ -8,7 +8,7 @@ pub fn version() -> &'static str { } pub fn buildhash() -> &'static str { - include_str!("../../meta/buildhash") + include_str!("../../meta/buildhash").trim() } pub(crate) fn sync_client_version() -> &'static str {