From 5011178822f20c7c03a527265a5a890ecd0534b1 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Tue, 3 Oct 2023 06:43:12 -0700 Subject: [PATCH] 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. --- aead/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aead/src/lib.rs b/aead/src/lib.rs index c5856a07..70066799 100644 --- a/aead/src/lib.rs +++ b/aead/src/lib.rs @@ -104,7 +104,7 @@ pub trait AeadCore { /// The length of a nonce. type NonceSize: ArrayLength; - /// The maximum length of the nonce. + /// The maximum length of the tag. type TagSize: ArrayLength; /// The upper bound amount of additional space required to support a