We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c4cf30 commit bdaf7a8Copy full SHA for bdaf7a8
tests/ui/wait-forked-but-failed-child.rs
@@ -38,7 +38,7 @@ fn find_zombies() {
38
// expected to be an integer.
39
let filtered_ps: Vec<_> = ps_output
40
.lines()
41
- .filter(|line| line.split(' ').filter(|x| 0 < x.len()).nth(1) != Some("-"))
+ .filter(|line| line.split_whitespace().nth(1) != Some("-"))
42
.collect();
43
44
for (line_no, line) in filtered_ps.into_iter().enumerate() {
0 commit comments