Skip to content

v0.3.7

v0.3.7 #80

GitHub Actions / clippy failed Dec 28, 2023 in 0s

clippy

3 errors

Details

Results

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

Versions

  • rustc 1.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check failure on line 333 in src/spf/verify.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of `.skip(0)`

error: usage of `.skip(0)`
   --> src/spf/verify.rs:333:88
    |
333 | ...                   directives = spf_record.directives.iter().enumerate().skip(0);
    |                                                                                  ^ help: if you meant to skip the first element, use: `1`
    |
    = note: this call to `skip` does nothing and is useless; remove it
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero

Check failure on line 231 in src/spf/verify.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of `.skip(0)`

error: usage of `.skip(0)`
   --> src/spf/verify.rs:231:92
    |
231 | ...                   directives = spf_record.directives.iter().enumerate().skip(0);
    |                                                                                  ^ help: if you meant to skip the first element, use: `1`
    |
    = note: this call to `skip` does nothing and is useless; remove it
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero

Check failure on line 114 in src/spf/verify.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of `.skip(0)`

error: usage of `.skip(0)`
   --> src/spf/verify.rs:114:76
    |
114 |         let mut directives = spf_record.directives.iter().enumerate().skip(0);
    |                                                                            ^ help: if you meant to skip the first element, use: `1`
    |
    = note: this call to `skip` does nothing and is useless; remove it
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero
    = note: `#[deny(clippy::iter_skip_zero)]` on by default