mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-14 18:55:47 +00:00
cargo fix --edition-idioms for group
This commit is contained in:
parent
a5f25c5058
commit
07c690cf73
@ -1,6 +1,6 @@
|
|||||||
extern crate ff;
|
|
||||||
extern crate rand;
|
|
||||||
extern crate rand_xorshift;
|
|
||||||
|
|
||||||
use ff::{PrimeField, PrimeFieldDecodingError, ScalarEngine, SqrtField};
|
use ff::{PrimeField, PrimeFieldDecodingError, ScalarEngine, SqrtField};
|
||||||
use rand::RngCore;
|
use rand::RngCore;
|
||||||
@ -180,7 +180,7 @@ impl Error for GroupDecodingError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl fmt::Display for GroupDecodingError {
|
impl fmt::Display for GroupDecodingError {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
|
||||||
match *self {
|
match *self {
|
||||||
GroupDecodingError::CoordinateDecodingError(description, ref err) => {
|
GroupDecodingError::CoordinateDecodingError(description, ref err) => {
|
||||||
write!(f, "{} decoding error: {}", description, err)
|
write!(f, "{} decoding error: {}", description, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user