Skip to content

Commit 6dfa9a1

Browse files
committed
---
yaml --- r: 106394 b: refs/heads/auto c: 63b233c h: refs/heads/master v: v3
1 parent 1764ef1 commit 6dfa9a1

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
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: e0e8e957ea3edce7104af9e972ce3a3542aeeb80
16+
refs/heads/auto: 63b233c25d45f4dc792fa864ddf710ce9ddd0224
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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/auto/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/auto/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/auto/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)