From 1b0b03efa9e8c969bad5a786c9e7ed302db3bae5 Mon Sep 17 00:00:00 2001 From: Nora Widdecke Date: Thu, 25 Nov 2021 19:55:46 +0100 Subject: openpgp: Statics have a 'static lifetime. - Found with clippy::redundant_static_lifetimes. --- openpgp/benches/decrypt_message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpgp/benches') diff --git a/openpgp/benches/decrypt_message.rs b/openpgp/benches/decrypt_message.rs index 9d3876e9..9ea96bfc 100644 --- a/openpgp/benches/decrypt_message.rs +++ b/openpgp/benches/decrypt_message.rs @@ -8,7 +8,7 @@ use openpgp::parse::Parse; use crate::common::{decrypt, encrypt}; -static PASSWORD: &'static str = "password"; +static PASSWORD: &str = "password"; lazy_static::lazy_static! { static ref TESTY: Cert = -- cgit v1.2.3