Skip to content

fix: waiting for mutiple messages from the same log frame (#688)

Sign in for the full log view
GitHub Actions / clippy succeeded Jul 7, 2024 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.81.0-nightly (ed7e35f34 2024-07-06)
  • cargo 1.81.0-nightly (a515d4634 2024-07-02)
  • clippy 0.1.81 (ed7e35f 2024-07-06)

Annotations

Check warning on line 96 in testcontainers/src/core/logs.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this loop could be written as a `for` loop

warning: this loop could be written as a `for` loop
  --> testcontainers/src/core/logs.rs:96:13
   |
96 |             while let Some(_) = find_iter.next() {
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for _ in find_iter`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
   = note: `#[warn(clippy::while_let_on_iterator)]` on by default

Check warning on line 73 in testcontainers/src/core/image/image_ext.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> testcontainers/src/core/image/image_ext.rs:73:9
   |
73 |     /// If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kerne...
   |         ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
   |
73 |     ///   If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration.
   |         ++