From 120ad879d8130e5683967a576a15ebb3120e1361 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Thu, 28 Sep 2023 18:03:53 -0700 Subject: [PATCH] Fix minor documentation error in AeadCore::TagSize 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 c5856a072..700667998 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