Fix another clippy lint (#437)

This commit is contained in:
Josh Holmer 2021-12-09 10:33:48 -05:00 committed by GitHub
parent 1e5dfaa095
commit 07710cb088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -967,7 +967,7 @@ properly into a mkv file. Specify mkvmerge as the concatenation method by settin
// Queue::encoding_loop only sends a message if there was an error (meaning a chunk crashed)
// more than MAX_TRIES. So, we have to explicitly exit the program if that happens.
while let Ok(()) = rx.recv() {
while rx.recv().is_ok() {
exit(1);
}