From f0d14d5de36c70719cba54fc9c899d8b8864a1c0 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Sat, 20 Apr 2019 00:48:53 +0700 Subject: [PATCH] clippy: Fix const_static_lifetime --- tests/cli-self-upd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli-self-upd.rs b/tests/cli-self-upd.rs index 84c1406431..a5bfd8a0d1 100644 --- a/tests/cli-self-upd.rs +++ b/tests/cli-self-upd.rs @@ -25,7 +25,7 @@ macro_rules! for_host { }; } -const TEST_VERSION: &'static str = "1.1.1"; +const TEST_VERSION: &str = "1.1.1"; pub fn setup(f: &dyn Fn(&Config)) { clitools::setup(Scenario::SimpleV2, &|config| {