diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-07-12 09:41:30 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-07-12 09:41:30 +0200 |
commit | 5475981bc46d110b91ae695eaf9dc5bcfb8872cb (patch) | |
tree | 42e1cb52fa49f06c988d191dea1937834b36757a /openpgp/src/message | |
parent | a3abfd6bfd399bd4f366f47b527d9cd68957c018 (diff) |
openpgp: Fix warning by demoting documentation comment.
Diffstat (limited to 'openpgp/src/message')
-rw-r--r-- | openpgp/src/message/mod.rs | 6 |
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()) } |