openpgp: Fix typos in documentation.

parent d01bda82
......@@ -741,7 +741,7 @@ pub struct Subpacket {
/// In order not to break signatures, we need to be able to
/// roundtrip the subpackets, perfectly reproducing all the bits.
/// To allow for suboptimal encoding of lenghts, we store the
/// To allow for suboptimal encoding of lengths, we store the
/// length when we parse subpackets.
pub(crate) // For serialize/, parse/
length: SubpacketLength,
......@@ -120,7 +120,7 @@ pub enum VerificationResult<'a> {
sig: Signature,
/// An error occured while verifying the signature.
/// An error occurred while verifying the signature.
/// This could occur if the signature is invalid (e.g., no
/// Signature Creation Time packet), the key is invalid (e.g., the
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment