Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow selecting transactions by index #1033

Merged
merged 5 commits into from
Aug 17, 2023

Allow selecting transactions by index

d884fa8
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Allow selecting transactions by index #1033

Allow selecting transactions by index
d884fa8
Select commit
Loading
Failed to load commit list.
GitHub Actions / Clippy Results for the Rust Core failed Aug 17, 2023 in 0s

Clippy Results for the Rust Core

1 error

Details

Results

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

Versions

  • rustc 1.72.0-beta.8 (598a0a3cb 2023-08-12)
  • cargo 1.72.0-beta.8 (44b6be4bd 2023-08-03)
  • clippy 0.1.72 (598a0a3 2023-08-12)

Annotations

Check failure on line 770 in cli/src/command/account.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Results for the Rust Core

called `skip(..).next()` on an iterator

error: called `skip(..).next()` on an iterator
   --> cli/src/command/account.rs:770:37
    |
770 |             transactions.into_iter().skip(index).next()
    |                                     ^^^^^^^^^^^^^^^^^^^ help: use `nth` instead: `.nth(index)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next
    = note: `-D clippy::iter-skip-next` implied by `-D warnings`