Skip to content

Commit 4b5b663

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 163822 b: refs/heads/master c: fe48a65 h: refs/heads/master v: v3
1 parent b812ae4 commit 4b5b663

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 4deb27e67aa7280d6e6f9b70eb9447bca5e3c48f
2+
refs/heads/master: fe48a65aaa8e8c218b42ccd67a91c903935ac9e5
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42

trunk/src/libstd/sys/unix/process.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ impl Process {
379379
// wait indefinitely for a message to arrive.
380380
//
381381
// FIXME: sure would be nice to not have to scan the entire array
382-
let min = active.iter().map(|a| *a.ref2()).enumerate().min_by(|p| {
383-
p.val1()
382+
let min = active.iter().map(|a| a.2).enumerate().min_by(|p| {
383+
p.1
384384
});
385385
let (p, idx) = match min {
386386
Some((idx, deadline)) => {
@@ -564,9 +564,9 @@ fn with_envp<K, V, T>(env: Option<&collections::HashMap<K, V>>,
564564

565565
for pair in env.iter() {
566566
let mut kv = Vec::new();
567-
kv.push_all(pair.ref0().container_as_bytes());
567+
kv.push_all(pair.0.container_as_bytes());
568568
kv.push('=' as u8);
569-
kv.push_all(pair.ref1().container_as_bytes());
569+
kv.push_all(pair.1.container_as_bytes());
570570
kv.push(0); // terminating null
571571
tmps.push(kv);
572572
}

0 commit comments

Comments
 (0)