Skip to content

Merge pull request #53 from aurelj/iter_optimize #108

Merge pull request #53 from aurelj/iter_optimize

Merge pull request #53 from aurelj/iter_optimize #108

GitHub Actions / clippy succeeded Jul 25, 2024 in 0s

clippy

3 warnings

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 292 in src/nor_flash.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty doc comment

warning: empty doc comment
   --> src/nor_flash.rs:292:1
    |
292 | ///
    | ^^^
    |
    = help: consider removing or filling it
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs

Check warning on line 217 in src/nor_flash.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty doc comment

warning: empty doc comment
   --> src/nor_flash.rs:217:1
    |
217 | ///
    | ^^^
    |
    = help: consider removing or filling it
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
    = note: `#[warn(clippy::empty_docs)]` on by default

Check warning on line 35 in src/iter.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
  --> src/iter.rs:35:3
   |
35 |         while let Some(region) = self.regions.next() {
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for region in self.regions.by_ref()`
   |
   = 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