We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad05fc commit a556126Copy full SHA for a556126
testcontainers/src/core/logs.rs
@@ -92,8 +92,8 @@ impl WaitingStreamWrapper {
92
self.cache.push(Ok(message.clone()));
93
}
94
95
- let mut find_iter = msg_finder.find_iter(message.as_ref());
96
- while let Some(_) = find_iter.next() {
+ let find_iter = msg_finder.find_iter(message.as_ref());
+ for _ in find_iter {
97
found_times += 1; // can't overflow, because of check below
98
if found_times == times {
99
log::debug!(
0 commit comments