Skip to content

Commit 309fb5b

Browse files
committed
Revert back to cfg any
1 parent ebd3037 commit 309fb5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vid/src/advz.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ where
721721
common.multiplicity
722722
}
723723

724-
#[cfg(all(test, feature = "test-srs"))]
724+
#[cfg(any(test, feature = "test-srs"))]
725725
fn corrupt_share_index(&self, mut share: Self::Share) -> Self::Share {
726726
share.index = share.index + self.num_storage_nodes;
727727
share

vid/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub trait VidScheme {
9898

9999
/// Corrupt the share index, making the index out of bounds.
100100
/// This causes `verify_share` to fail with a value of Ok(Err)
101-
#[cfg(all(test, feature = "test-srs"))]
101+
#[cfg(any(test, feature = "test-srs"))]
102102
fn corrupt_share_index(&self, share: Self::Share) -> Self::Share;
103103
}
104104

0 commit comments

Comments
 (0)