File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
branches/snap-stage3/src/libstd/sync Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: f0f7ca27de6b4e03f30012656dad270cda55a363
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 2d74b53a034dc538d624f6c3b3ec313d40033415
4
+ refs/heads/snap-stage3: b182cd7245a999ac702f88c89dcc28811d6fdf8a
5
5
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
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