Skip to content

Commit 595fec2

Browse files
committed
---
yaml --- r: 150394 b: refs/heads/try2 c: 63b233c h: refs/heads/master v: v3
1 parent d451537 commit 595fec2

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: e0e8e957ea3edce7104af9e972ce3a3542aeeb80
8+
refs/heads/try2: 63b233c25d45f4dc792fa864ddf710ce9ddd0224
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libgreen/sched.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ mod test {
14731473
let mut handle = pool.spawn_sched();
14741474
handle.send(PinnedTask(pool.task(TaskOpts::new(), proc() {
14751475
unsafe {
1476-
let mut guard = LOCK.lock();
1476+
let guard = LOCK.lock();
14771477

14781478
start_tx.send(());
14791479
guard.wait(); // block the scheduler thread
@@ -1509,7 +1509,7 @@ mod test {
15091509
child_tx.send(20);
15101510
pingpong(&parent_rx, &child_tx);
15111511
unsafe {
1512-
let mut guard = LOCK.lock();
1512+
let guard = LOCK.lock();
15131513
guard.signal(); // wakeup waiting scheduler
15141514
guard.wait(); // wait for them to grab the lock
15151515
}

branches/try2/src/libstd/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2335,7 +2335,7 @@ mod tests {
23352335

23362336
#[test]
23372337
fn test_counter_from_iter() {
2338-
let mut it = count(0, 5).take(10);
2338+
let it = count(0, 5).take(10);
23392339
let xs: ~[int] = FromIterator::from_iterator(it);
23402340
assert_eq!(xs, ~[0, 5, 10, 15, 20, 25, 30, 35, 40, 45]);
23412341
}

branches/try2/src/libstd/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3218,7 +3218,7 @@ mod tests {
32183218
let data = ~"ประเทศไทย中";
32193219
let mut cpy = data.clone();
32203220
let other = "abc";
3221-
let mut it = other.chars();
3221+
let it = other.chars();
32223222
cpy.extend(it);
32233223
assert_eq!(cpy, data + other);
32243224
}

branches/try2/src/libstd/unstable/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ mod test {
621621
#[test]
622622
fn destroy_immediately() {
623623
unsafe {
624-
let mut m = StaticNativeMutex::new();
624+
let m = StaticNativeMutex::new();
625625
m.destroy();
626626
}
627627
}

0 commit comments

Comments
 (0)