Skip to content

wip

wip #281

GitHub Actions / Clippy Results failed Sep 23, 2025 in 1s

Clippy Results

2 errors

Details

Results

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

Versions

  • rustc 1.88.0 (6b00bc388 2025-06-23)
  • cargo 1.88.0 (873a06493 2025-05-10)
  • clippy 0.1.88 (6b00bc3880 2025-06-23)

Annotations

Check failure on line 433 in crates/chain/src/canonical_iter.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Results

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> crates/chain/src/canonical_iter.rs:433:37
    |
433 |                     a_last_seen.cmp(&b_last_seen)
    |                                     ^^^^^^^^^^^^ help: change this to: `b_last_seen`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `-D clippy::needless-borrow` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`

Check failure on line 399 in crates/chain/src/canonical_iter.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Results

writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do

error: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do
   --> crates/chain/src/canonical_iter.rs:399:16
    |
399 |         level: &mut Vec<Txid>,
    |                ^^^^^^^^^^^^^^ help: change this to: `&mut [Txid]`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
    = note: `-D clippy::ptr-arg` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`