Auto merge of #74 - plutomonkey:clippy, r=ebfull
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:
commit
7b6e13bcb9
@ -14,7 +14,7 @@ repository = "https://github.com/ebfull/pairing"
|
||||
[dependencies]
|
||||
rand = "0.3"
|
||||
byteorder = "1"
|
||||
clippy = { version = "0.0.174", optional = true }
|
||||
clippy = { version = "0.0.186", optional = true }
|
||||
|
||||
[features]
|
||||
unstable-features = ["expose-arith"]
|
||||
|
@ -573,7 +573,7 @@ impl SqrtField for Fr {
|
||||
let mut m = S;
|
||||
|
||||
while t != Self::one() {
|
||||
let mut i = 1;
|
||||
let mut i = 1;
|
||||
{
|
||||
let mut t2i = t;
|
||||
t2i.square();
|
||||
|
@ -11,6 +11,7 @@
|
||||
#![cfg_attr(feature = "clippy", allow(inline_always))]
|
||||
#![cfg_attr(feature = "clippy", allow(too_many_arguments))]
|
||||
#![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))]
|
||||
|
||||
// Force public structures to implement Debug
|
||||
|
Loading…
Reference in New Issue
Block a user