diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-10-27 22:45:01 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-10-27 22:45:01 -0400 |
commit | d3336f34c0d953b6cfd6cc9d4757fd31c1ac31ae (patch) | |
tree | aac95b974bd51187efc572a21fb28dd55b0b810e /openpgp/src/crypto/aead.rs | |
parent | 6b1c86756c1a3945fec84e3703e991ef1ee99fee (diff) |
Fix more spelling errors caught by codespell
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'openpgp/src/crypto/aead.rs')
-rw-r--r-- | openpgp/src/crypto/aead.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/crypto/aead.rs b/openpgp/src/crypto/aead.rs index 93e6ad5d..47501d60 100644 --- a/openpgp/src/crypto/aead.rs +++ b/openpgp/src/crypto/aead.rs @@ -204,7 +204,7 @@ impl<'a> Decryptor<'a> { // Note: this implementation tries *very* hard to make sure we don't // gratuitiously do a short read. Specifically, if the return value // is less than `plaintext.len()`, then it is either because we - // reached the end of the input or an error occured. + // reached the end of the input or an error occurred. fn read_helper(&mut self, plaintext: &mut [u8]) -> Result<usize> { use std::cmp::Ordering; @@ -380,7 +380,7 @@ impl<'a> Decryptor<'a> { // Note: this implementation tries *very* hard to make sure we don't // gratuitiously do a short read. Specifically, if the return value // is less than `plaintext.len()`, then it is either because we -// reached the end of the input or an error occured. +// reached the end of the input or an error occurred. impl<'a> io::Read for Decryptor<'a> { fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { match self.read_helper(buf) { |