File tree 4 files changed +7
-7
lines changed 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ default-members = [
34
34
]
35
35
36
36
[dev-dependencies ]
37
- no-panic = " 0.1.8 "
37
+ no-panic = " 0.1.30 "
38
38
39
39
40
40
# This is needed for no-panic to correctly detect the lack of panics
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ license = "MIT OR Apache-2.0"
7
7
8
8
[dependencies ]
9
9
libm = { path = " ../.." , default-features = false }
10
- rand = " 0.6 .5"
11
- paste = " 0.1.5 "
10
+ rand = " 0.8 .5"
11
+ paste = " 1.0.15 "
12
12
13
13
[features ]
14
14
default = []
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ musl-bitwise-tests = ["rand"]
15
15
libm = { path = " ../.." }
16
16
17
17
[build-dependencies ]
18
- rand = { version = " 0.6 .5" , optional = true }
18
+ rand = { version = " 0.8 .5" , optional = true }
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ mod musl_reference_tests {
185
185
186
186
return match self {
187
187
Ty :: F32 => {
188
- if r. gen_range ( 0 , 20 ) < 1 {
188
+ if r. gen_range ( 0 .. 20 ) < 1 {
189
189
let i = * [ f32:: NAN , f32:: INFINITY , f32:: NEG_INFINITY ]
190
190
. choose ( r)
191
191
. unwrap ( ) ;
@@ -195,7 +195,7 @@ mod musl_reference_tests {
195
195
}
196
196
}
197
197
Ty :: F64 => {
198
- if r. gen_range ( 0 , 20 ) < 1 {
198
+ if r. gen_range ( 0 .. 20 ) < 1 {
199
199
let i = * [ f64:: NAN , f64:: INFINITY , f64:: NEG_INFINITY ]
200
200
. choose ( r)
201
201
. unwrap ( ) ;
@@ -205,7 +205,7 @@ mod musl_reference_tests {
205
205
}
206
206
}
207
207
Ty :: I32 => {
208
- if r. gen_range ( 0 , 10 ) < 1 {
208
+ if r. gen_range ( 0 .. 10 ) < 1 {
209
209
let i = * [ i32:: max_value ( ) , 0 , i32:: min_value ( ) ] . choose ( r) . unwrap ( ) ;
210
210
i. into ( )
211
211
} else {
You can’t perform that action at this time.
0 commit comments