Skip to content

Commit bce81b6

Browse files
committed
ecdsa: work around nightly-2020-10-06 breakage
The `ecdsa` crate no longer builds on `nightly`, possibly due to: rust-lang/rust#77638 Unfortunately this means rustdoc builds on https://docs.rs fail! This commit works around the issue.
1 parent a383e80 commit bce81b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ecdsa/src/sign.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ where
8686
where
8787
AffinePoint<C>: Clone + Debug,
8888
{
89-
VerifyKey {
90-
public_key: (C::ProjectivePoint::generator() * &self.secret_scalar).to_affine(),
91-
}
89+
#[allow(clippy::op_ref)]
90+
let public_key = (C::ProjectivePoint::generator() * &*self.secret_scalar).to_affine();
91+
VerifyKey { public_key }
9292
}
9393

9494
/// Serialize this [`SigningKey`] as bytes

0 commit comments

Comments
 (0)