Skip to content

Commit

Permalink
Remove some unused trait bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
fjarri committed Oct 21, 2024
1 parent f014a1a commit 5cfc6c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions manul/src/session/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ pub trait SessionParameters {
type Digest: Digest;

/// The verifier type, which will also serve as a node identifier.
type Verifier: 'static
+ Debug
type Verifier: Debug
+ Clone
+ Eq
+ Ord
+ DigestVerifier<Self::Digest, Self::Signature>
+ Serialize
Expand All @@ -49,7 +47,7 @@ pub trait SessionParameters {
+ Sync;

/// The signature type corresponding to [`Signer`](`Self::Signer`) and [`Verifier`](`Self::Verifier`).
type Signature: 'static + Debug + Clone + Eq + Serialize + for<'de> Deserialize<'de> + Send + Sync;
type Signature: Serialize + for<'de> Deserialize<'de>;
}

/// A session identifier shared between the parties.
Expand Down

0 comments on commit 5cfc6c1

Please sign in to comment.