Skip to content

Commit

Permalink
docs: delete outdated note about constant-time comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
duesee committed Apr 13, 2024
1 parent 11bad0d commit c979396
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions imap-types/src/secret.rs
Expand Up @@ -16,9 +16,6 @@ use serde::{Deserialize, Serialize};
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
#[cfg_attr(feature = "bounded-static", derive(ToStatic))]
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
// Note: The implementation of these traits does agree:
// `PartialEq` is just a thin wrapper that ensures constant-time comparison.
#[allow(clippy::derived_hash_with_manual_eq)]
#[derive(Clone, Eq, Hash, PartialEq)]
pub struct Secret<T>(T);

Expand Down

0 comments on commit c979396

Please sign in to comment.