We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e320ffa commit 551858bCopy full SHA for 551858b
1 file changed
src/secrets.rs
@@ -51,7 +51,7 @@ pub struct DirectionalSecrets {
51
52
impl DirectionalSecrets {
53
fn put(&mut self, epoch: Epoch, key: SymKey) {
54
- debug_assert!(epoch != Epoch::Initial);
+ debug_assert_ne!(epoch, Epoch::Initial);
55
self.secrets[epoch] = key;
56
}
57
0 commit comments