File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ mod test {
473
473
474
474
#[ test]
475
475
fn stress ( ) {
476
- static AMT : u32 = 10000 ;
476
+ static AMT : i32 = 10000 ;
477
477
let ( tx1, rx1) = channel :: < i32 > ( ) ;
478
478
let ( tx2, rx2) = channel :: < i32 > ( ) ;
479
479
let ( tx3, rx3) = channel :: < ( ) > ( ) ;
Original file line number Diff line number Diff line change @@ -425,8 +425,8 @@ mod tests {
425
425
#[ test]
426
426
fn frob ( ) {
427
427
static R : StaticRwLock = RW_LOCK_INIT ;
428
- static N : u32 = 10 ;
429
- static M : u32 = 1000 ;
428
+ static N : usize = 10 ;
429
+ static M : usize = 1000 ;
430
430
431
431
let ( tx, rx) = channel :: < ( ) > ( ) ;
432
432
for _ in 0 ..N {
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ mod test {
142
142
use super :: * ;
143
143
use sync:: mpsc:: channel;
144
144
145
- const TEST_TASKS : u32 = 4 ;
145
+ const TEST_TASKS : usize = 4 ;
146
146
147
147
#[ test]
148
148
fn test_works ( ) {
You can’t perform that action at this time.
0 commit comments