Skip to content

Merge pull request #44 from idky137/cratify_indexer #123

Merge pull request #44 from idky137/cratify_indexer

Merge pull request #44 from idky137/cratify_indexer #123

GitHub Actions / Clippy (MSRV) failed Oct 8, 2024 in 1s

Clippy (MSRV)

2 errors

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 69 in zaino-fetch/src/primitives/block.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

redundant closure

error: redundant closure
  --> zaino-fetch/src/primitives/block.rs:69:30
   |
69 |         hex::decode(hex).map(|bytes| SerializedBlock::from(bytes))
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SerializedBlock::from`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
   = note: `-D clippy::redundant-closure` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`

Check failure on line 69 in zaino-fetch/src/primitives/block.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

redundant closure

error: redundant closure
  --> zaino-fetch/src/primitives/block.rs:69:30
   |
69 |         hex::decode(hex).map(|bytes| SerializedBlock::from(bytes))
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SerializedBlock::from`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
   = note: `-D clippy::redundant-closure` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`