Skip to content

Commit 5011178

Browse files
authored
Fix minor documentation error in AeadCore::TagSize (#1351)
The documentation originally described TagSize as "the maximum length of the nonce" when it is, in fact, the maximum length of the tag.
1 parent aa21684 commit 5011178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aead/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub trait AeadCore {
104104
/// The length of a nonce.
105105
type NonceSize: ArrayLength<u8>;
106106

107-
/// The maximum length of the nonce.
107+
/// The maximum length of the tag.
108108
type TagSize: ArrayLength<u8>;
109109

110110
/// The upper bound amount of additional space required to support a

0 commit comments

Comments
 (0)