Remove must_use spam

This commit is contained in:
Luke Parker
2023-07-08 01:06:38 -04:00
parent f93106af6b
commit 286e96ccd8
11 changed files with 0 additions and 27 deletions

View File

@@ -155,7 +155,6 @@ impl<C: Ciphersuite> SchnorrAggregator<C> {
///
/// The DST used here must prevent a collision with whatever hash function produced the
/// challenges.
#[must_use]
pub fn new(dst: &'static [u8]) -> Self {
let mut res = Self { digest: DigestTranscript::<C::H>::new(dst), sigs: vec![] };
res.digest.domain_separate(b"signatures");