summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-07-12 09:41:30 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-07-12 09:41:30 +0200
commit5475981bc46d110b91ae695eaf9dc5bcfb8872cb (patch)
tree42e1cb52fa49f06c988d191dea1937834b36757a
parenta3abfd6bfd399bd4f366f47b527d9cd68957c018 (diff)
openpgp: Fix warning by demoting documentation comment.
-rw-r--r--openpgp/src/message/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index 0651390a..b2934a20 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -38,9 +38,9 @@ impl Message {
let r = MessageParser::new().parse(Lexer::from_packet_pile(&pile)?);
match r {
Ok(_) => Ok(Message { pile: pile }),
- /// We really want to squash the lexer's error: it is an
- /// internal detail that may change, and meaningless even
- /// to an immediate user of this crate.
+ // We really want to squash the lexer's error: it is an
+ // internal detail that may change, and meaningless even
+ // to an immediate user of this crate.
Err(err) => Err(Error::MalformedMessage(
format!("Invalid OpenPGP message: {:?}", err).into()).into())
}