Skip to content

Commit

Permalink
chore(xtask): Remove unnecessary lifetime
Browse files Browse the repository at this point in the history
`const` variables are always `'static`. Detected by clippy.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh authored and poljar committed Dec 8, 2024
1 parent a277e6d commit 42193f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 42193f1

Please sign in to comment.