From 42193f1b069211138401e4f17e76722686c884f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sat, 7 Dec 2024 11:51:18 +0100 Subject: [PATCH] chore(xtask): Remove unnecessary lifetime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `const` variables are always `'static`. Detected by clippy. Signed-off-by: Kévin Commaille --- xtask/src/release.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/release.rs b/xtask/src/release.rs index e54726c7897..093c831a23a 100644 --- a/xtask/src/release.rs +++ b/xtask/src/release.rs @@ -127,7 +127,7 @@ fn publish(execute: bool) -> Result<()> { } fn weekly_report() -> Result<()> { - const JSON_FIELDS: &'static str = "title,number,url,author"; + const JSON_FIELDS: &str = "title,number,url,author"; let sh = sh();