process: Use join3 instead of two joins

This commit is contained in:
Alex Crichton
2019-06-24 16:56:49 -07:00
committed by Ivan Petkov
parent 6638cbc80e
commit 01b5bf6761
+1 -1
View File
@@ -303,7 +303,7 @@ impl Child {
};
WaitWithOutput {
inner: self.join(stdout).join(stderr).map(|((status, stdout), stderr)| {
inner: self.join3(stdout, stderr).map(|(status, stdout, stderr)| {
Output {
status: status,
stdout: stdout,