Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Remove genesis hack #146

Remove genesis hack

Remove genesis hack #146

GitHub Actions / clippy failed Apr 22, 2024 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.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check failure on line 566 in src/builder_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variable does not need to be mutable

error: variable does not need to be mutable
   --> src/builder_state.rs:566:13
    |
566 |         let mut leaf = Leaf::from_quorum_proposal(&quorum_proposal);
    |             ----^^^^
    |             |
    |             help: remove this `mut`

Check failure on line 618 in src/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variable does not need to be mutable

error: variable does not need to be mutable
   --> src/service.rs:618:9
    |
618 |     let mut leaf = Leaf::from_quorum_proposal(&qc_proposal.data);
    |         ----^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `-D unused-mut` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_mut)]`

Check failure on line 610 in src/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `instance_state`

error: unused variable: `instance_state`
   --> src/service.rs:610:5
    |
610 |     instance_state: &Types::InstanceState,
    |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance_state`
    |
    = note: `-D unused-variables` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_variables)]`