remote-test-client: apply considerable clippy suggestions
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
c755df2d35
commit
5aa3fbce61
1 changed files with 4 additions and 6 deletions
|
|
@ -317,13 +317,11 @@ fn run(support_lib_count: usize, exe: String, all_args: Vec<String>) {
|
|||
t!(io::copy(&mut (&mut client).take(amt), &mut stdout));
|
||||
t!(stdout.flush());
|
||||
}
|
||||
} else if amt == 0 {
|
||||
stderr_done = true;
|
||||
} else {
|
||||
if amt == 0 {
|
||||
stderr_done = true;
|
||||
} else {
|
||||
t!(io::copy(&mut (&mut client).take(amt), &mut stderr));
|
||||
t!(stderr.flush());
|
||||
}
|
||||
t!(io::copy(&mut (&mut client).take(amt), &mut stderr));
|
||||
t!(stderr.flush());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue