Skip to content

Commit 551858b

Browse files
authored
Fix clippy lints (#45)
1 parent e320ffa commit 551858b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/secrets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct DirectionalSecrets {
5151

5252
impl DirectionalSecrets {
5353
fn put(&mut self, epoch: Epoch, key: SymKey) {
54-
debug_assert!(epoch != Epoch::Initial);
54+
debug_assert_ne!(epoch, Epoch::Initial);
5555
self.secrets[epoch] = key;
5656
}
5757

0 commit comments

Comments
 (0)