be more explicit with pattern in drain_requests

This commit is contained in:
Jane Lusby 2020-06-16 11:03:58 -07:00 committed by Henry de Valence
parent b0ecd019b6
commit 06fd3b2503
1 changed files with 4 additions and 1 deletions

View File

@ -225,10 +225,13 @@ where
.map_err(|e| eyre!(e))?;
}
}
Some(Ok(_)) => continue,
Some(Err(e)) => {
error!(%e);
}
_ => continue,
None => {
unreachable!("None is never encountered due to the condition on the while loop")
}
}
}