We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0699e3f + ab8b511 commit 7b49ecaCopy full SHA for 7b49eca
2 files changed
.travis.yml
@@ -1,15 +1,25 @@
1
language: rust
2
+sudo: false
3
rust:
4
- 1.8.0
5
- 1.15.0
6
- 1.20.0
7
+ - 1.26.0 # has_i128
8
+ - 1.31.0 # 2018!
9
- stable
10
- beta
11
- nightly
-sudo: false
12
script:
13
- cargo build --verbose
14
- ./ci/test_full.sh
15
+matrix:
16
+ include:
17
+ - name: "rustfmt"
18
+ rust: 1.31.0
19
+ before_script:
20
+ - rustup component add rustfmt
21
+ script:
22
+ - cargo fmt --all -- --check
23
notifications:
24
email:
25
on_success: never
src/roots.rs
@@ -335,7 +335,7 @@ macro_rules! unsigned_roots {
335
336
if bits::<$T>() <= 32 {
337
// Implementation based on Hacker's Delight `icbrt2`
338
- let mut x = a ;
+ let mut x = a;
339
let mut y2 = 0;
340
let mut y = 0;
341
let smax = bits::<$T>() / 3;
0 commit comments