mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
Remove must_use spam
This commit is contained in:
@@ -37,7 +37,6 @@ where
|
||||
/// Create a new batch verifier, expected to verify the following amount of statements.
|
||||
///
|
||||
/// `capacity` is a size hint and is not required to be accurate.
|
||||
#[must_use]
|
||||
pub fn new(capacity: usize) -> Self {
|
||||
Self(Zeroizing::new(Vec::with_capacity(capacity)))
|
||||
}
|
||||
@@ -112,7 +111,6 @@ where
|
||||
///
|
||||
/// This function will only return the ID of one invalid statement, even if multiple are invalid.
|
||||
// A constant time variant may be beneficial for robust protocols
|
||||
#[must_use]
|
||||
pub fn blame_vartime(&self) -> Option<Id> {
|
||||
let mut slice = self.0.as_slice();
|
||||
while slice.len() > 1 {
|
||||
|
||||
Reference in New Issue
Block a user