Update nssa/src/state.rs

Co-authored-by: Sergio Chouhy <41742639+schouhy@users.noreply.github.com>
This commit is contained in:
jonesmarvin8 2025-09-05 20:48:26 -04:00 committed by GitHub
parent 49019eaee2
commit 4ae2af21a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ impl CommitmentSet {
self.commitments.contains_key(commitment)
}
/// Initializes a CommitmentState with a given capacity.
/// Initializes an empty `CommitmentSet` with a given capacity.
/// If the capacity is not a power_of_two, then capacity is taken
/// to be the next power_of_two.
pub(crate) fn with_capacity(capacity: usize) -> CommitmentSet {