fix clippy::len-zero
This commit is contained in:
parent
9b08f0eebb
commit
fa7a188e85
1 changed files with 1 additions and 1 deletions
|
|
@ -633,7 +633,7 @@ impl Build {
|
|||
|
||||
// Check for postponed failures from `test --no-fail-fast`.
|
||||
let failures = self.delayed_failures.borrow();
|
||||
if failures.len() > 0 {
|
||||
if !failures.is_empty() {
|
||||
eprintln!("\n{} command(s) did not execute successfully:\n", failures.len());
|
||||
for failure in failures.iter() {
|
||||
eprintln!(" - {failure}\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue