Skip to content

Add a new optional field to the SignatureResponse struct. This field … #26

Add a new optional field to the SignatureResponse struct. This field …

Add a new optional field to the SignatureResponse struct. This field … #26

GitHub Actions / Clippy (1.81) failed Dec 2, 2024 in 1s

Clippy (1.81)

6 errors

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 666 in plexi_core/src/lib.rs

See this annotation in the file changed.

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

redundant closure

error: redundant closure
   --> plexi_core/src/lib.rs:666:14
    |
666 |         .map(|m| hex::decode(m))
    |              ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::decode`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Check failure on line 624 in plexi_core/src/lib.rs

See this annotation in the file changed.

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

redundant closure

error: redundant closure
   --> plexi_core/src/lib.rs:624:55
    |
624 |         let sm = self.serialized_message.as_ref().map(|m| hex::encode(m));
    |                                                       ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Check failure on line 596 in plexi_core/src/lib.rs

See this annotation in the file changed.

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

redundant closure

error: redundant closure
   --> plexi_core/src/lib.rs:596:22
    |
596 |                 .map(|msg| hex::decode(msg))
    |                      ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::decode`
    |
    = 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 666 in plexi_core/src/lib.rs

See this annotation in the file changed.

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

redundant closure

error: redundant closure
   --> plexi_core/src/lib.rs:666:14
    |
666 |         .map(|m| hex::decode(m))
    |              ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::decode`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Check failure on line 624 in plexi_core/src/lib.rs

See this annotation in the file changed.

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

redundant closure

error: redundant closure
   --> plexi_core/src/lib.rs:624:55
    |
624 |         let sm = self.serialized_message.as_ref().map(|m| hex::encode(m));
    |                                                       ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Check failure on line 596 in plexi_core/src/lib.rs

See this annotation in the file changed.

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

redundant closure

error: redundant closure
   --> plexi_core/src/lib.rs:596:22
    |
596 |                 .map(|msg| hex::decode(msg))
    |                      ^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::decode`
    |
    = 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)]`