Skip to content

Commit

Permalink
Remove NonceVerifier trait bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ramos committed Nov 29, 2019
1 parent 40bcd1e commit 6b31f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ impl NonceVerifier for &Nonce {

impl<F> NonceVerifier for F
where
F: for<'a> FnOnce(Option<&'a Nonce>) -> Result<(), String>,
F: FnOnce(Option<&Nonce>) -> Result<(), String>,
{
fn verify(self, nonce: Option<&Nonce>) -> Result<(), String> {
self(nonce)
Expand Down

0 comments on commit 6b31f88

Please sign in to comment.