Skip to content

Commit 967054e

Browse files
committed
Clarify NonceSequence documentation.
1 parent 554c222 commit 967054e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aead.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ pub use self::{
4141
/// Intentionally not `Clone` or `Copy` since cloning would allow duplication
4242
/// of the sequence.
4343
pub trait NonceSequence {
44-
/// Returns a nonce, and prevents that
44+
/// Returns the next nonce in the sequence.
45+
///
4546
/// This may fail if "too many" nonces have been requested, where how many
4647
/// is too many is up to the implementation of `NonceSequence`. An
4748
/// implementation may that enforce a maximum number of records are

0 commit comments

Comments
 (0)