Make ecdsa/private.rs a bit more pretty.
This commit is contained in:
@@ -23,7 +23,6 @@ pub trait ECCPrivateKey {
|
|||||||
macro_rules! generate_privates
|
macro_rules! generate_privates
|
||||||
{
|
{
|
||||||
($curve: ident, $base: ident, $sig: ident, $dbl: ident, $quad: ident) => {
|
($curve: ident, $base: ident, $sig: ident, $dbl: ident, $quad: ident) => {
|
||||||
|
|
||||||
impl ECCPrivateKey for ECCPrivate<$curve>
|
impl ECCPrivateKey for ECCPrivate<$curve>
|
||||||
{
|
{
|
||||||
type Unsigned = $base;
|
type Unsigned = $base;
|
||||||
|
|||||||
Reference in New Issue
Block a user