summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-25 19:55:46 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:56 +0100
commit1b0b03efa9e8c969bad5a786c9e7ed302db3bae5 (patch)
tree76512c76c01f79223c0aa52839cc63584f4e94ee
parent015e3550638914fa905490dc33eb2dccefbc75f4 (diff)
openpgp: Statics have a 'static lifetime.
- Found with clippy::redundant_static_lifetimes.
-rw-r--r--openpgp/benches/decrypt_message.rs2
1 files changed, 1 insertions, 1 deletions
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 =