diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-07 20:06:33 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-09 13:13:59 +0200 |
commit | 694680ae3b2192c102f1b9a4d342677545cac629 (patch) | |
tree | 3fcdf4a32ce5f4cb6bda6d330f9b15a973c1d980 /ipc | |
parent | 76f2e0ed8e30a0d1cde749f3444bd8a4c81bea87 (diff) |
Lint: Remove redundant lifetime.
- Constants have by default a `'static` lifetime
- https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/tests/gpg-agent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/tests/gpg-agent.rs b/ipc/tests/gpg-agent.rs index a2a6d286..5124a62e 100644 --- a/ipc/tests/gpg-agent.rs +++ b/ipc/tests/gpg-agent.rs @@ -62,7 +62,7 @@ async fn help() -> openpgp::Result<()> { Ok(()) } -const MESSAGE: &'static str = "дружба"; +const MESSAGE: &str = "дружба"; fn gpg_import(ctx: &Context, what: &[u8]) { use std::process::{Command, Stdio}; |