Adjust documentation of `CommitDomains::r`

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
str4d 2021-07-19 13:26:03 +01:00 committed by GitHub
parent a17a9301d7
commit f44c4161af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ where
pub trait CommitDomains<C: CurveAffine, F: Clone + Debug, H: HashDomains<C>>:
Clone + Debug
{
/// Returns the fixed point corresponding to the R constant for this CommitDomain.
/// Returns the fixed point corresponding to the R constant used for
/// randomization in this CommitDomain.
fn r(&self) -> F;
/// Returns the HashDomain contained in this CommitDomain