summaryrefslogtreecommitdiffstats
path: root/openpgp/src/armor.rs
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-04-06 21:24:59 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-04-09 13:13:58 +0200
commit5d029cbf42621452666bd084f7beecb7d3d885a4 (patch)
tree21219c5864beac97ff5c55c78b436918034adcd6 /openpgp/src/armor.rs
parent9424cd350f32a97479a74d919c646f9e26c2ebce (diff)
Lint: Remove unnecessary conversions.
- https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Diffstat (limited to 'openpgp/src/armor.rs')
-rw-r--r--openpgp/src/armor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs
index dbe007c8..13d5afa2 100644
--- a/openpgp/src/armor.rs
+++ b/openpgp/src/armor.rs
@@ -134,7 +134,7 @@ impl TryFrom<Label> for Kind {
Label::Signature => Ok(Kind::Signature),
Label::File => Ok(Kind::File),
Label::CleartextSignature => Err(crate::Error::InvalidOperation(
- "armor::Kind cannot express cleartext signatures".into()).into()),
+ "armor::Kind cannot express cleartext signatures".into())),
}
}
}