Skip to content

refactor(chain)!: update TopologicalIter to take an iterator #293

refactor(chain)!: update TopologicalIter to take an iterator

refactor(chain)!: update TopologicalIter to take an iterator #293

GitHub Actions / Clippy Results failed Sep 26, 2025 in 0s

Clippy Results

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
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 447 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:447:22
    |
447 |             a_tx.cmp(&b_tx)
    |                      ^^^^^ help: change this to: `b_tx`
    |
    = 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)]`