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:
bmerge 2018-02-14 00:03:26 +00:00
commit 7b6e13bcb9
3 changed files with 3 additions and 2 deletions

@ -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