We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebd3037 commit 309fb5bCopy full SHA for 309fb5b
vid/src/advz.rs
@@ -721,7 +721,7 @@ where
721
common.multiplicity
722
}
723
724
- #[cfg(all(test, feature = "test-srs"))]
+ #[cfg(any(test, feature = "test-srs"))]
725
fn corrupt_share_index(&self, mut share: Self::Share) -> Self::Share {
726
share.index = share.index + self.num_storage_nodes;
727
share
vid/src/lib.rs
@@ -98,7 +98,7 @@ pub trait VidScheme {
98
99
/// Corrupt the share index, making the index out of bounds.
100
/// This causes `verify_share` to fail with a value of Ok(Err)
101
102
fn corrupt_share_index(&self, share: Self::Share) -> Self::Share;
103
104
0 commit comments