Skip to content

Allow customising error types #54

Allow customising error types

Allow customising error types #54

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Aug 13, 2023 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.71.1 (eb26296b5 2023-08-03)
  • cargo 1.71.1 (7f1d04c00 2023-07-29)
  • clippy 0.1.71 (eb26296 2023-08-03)

Annotations

Check warning on line 93 in num_enum_derive/src/parsing.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
  --> num_enum_derive/src/parsing.rs:93:9
   |
93 |         while let Some(attr) = attrs.next() {
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for attr in attrs`
   |
   = 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