Skip to content

Commit

Permalink
Revert back to cfg any
Browse files Browse the repository at this point in the history
  • Loading branch information
elliedavidson committed Aug 20, 2024
1 parent ebd3037 commit 309fb5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vid/src/advz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ where
common.multiplicity
}

#[cfg(all(test, feature = "test-srs"))]
#[cfg(any(test, feature = "test-srs"))]
fn corrupt_share_index(&self, mut share: Self::Share) -> Self::Share {
share.index = share.index + self.num_storage_nodes;
share
Expand Down
2 changes: 1 addition & 1 deletion vid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub trait VidScheme {

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

Expand Down

0 comments on commit 309fb5b

Please sign in to comment.