Update clippy and fix code indentation.
(The code indentation issue was not caught by clippy -- I noticed it by chance!)
This commit is contained in:
parent
a8583dd818
commit
bce9f5d639
@ -14,7 +14,7 @@ repository = "https://github.com/ebfull/pairing"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.3"
|
rand = "0.3"
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
clippy = { version = "0.0.174", optional = true }
|
clippy = { version = "0.0.186", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
unstable-features = ["expose-arith"]
|
unstable-features = ["expose-arith"]
|
||||||
|
@ -573,7 +573,7 @@ impl SqrtField for Fr {
|
|||||||
let mut m = S;
|
let mut m = S;
|
||||||
|
|
||||||
while t != Self::one() {
|
while t != Self::one() {
|
||||||
let mut i = 1;
|
let mut i = 1;
|
||||||
{
|
{
|
||||||
let mut t2i = t;
|
let mut t2i = t;
|
||||||
t2i.square();
|
t2i.square();
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#![cfg_attr(feature = "clippy", allow(inline_always))]
|
#![cfg_attr(feature = "clippy", allow(inline_always))]
|
||||||
#![cfg_attr(feature = "clippy", allow(too_many_arguments))]
|
#![cfg_attr(feature = "clippy", allow(too_many_arguments))]
|
||||||
#![cfg_attr(feature = "clippy", allow(unreadable_literal))]
|
#![cfg_attr(feature = "clippy", allow(unreadable_literal))]
|
||||||
|
#![cfg_attr(feature = "clippy", allow(many_single_char_names))]
|
||||||
#![cfg_attr(feature = "clippy", allow(new_without_default_derive))]
|
#![cfg_attr(feature = "clippy", allow(new_without_default_derive))]
|
||||||
|
|
||||||
// Force public structures to implement Debug
|
// Force public structures to implement Debug
|
||||||
|
Loading…
Reference in New Issue
Block a user