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

[DO NOT MERGE] keep v0.1 #64

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

update readme to v0.2-dev

305b66d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

[DO NOT MERGE] keep v0.1 #64

update readme to v0.2-dev
305b66d
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 26, 2023 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 134 in src/config/network.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of `Iterator::fold` on a type that implements `Try`

warning: usage of `Iterator::fold` on a type that implements `Try`
   --> src/config/network.rs:124:18
    |
124 |                   .fold(
    |  __________________^
125 | |                     Some(*h),
126 | |                     |current_exchange, (next_exchange, next_amount)| {
127 | |                         if next_amount > current_amount_out {
...   |
133 | |                     },
134 | |                 )
    | |_________________^ help: use `try_fold` instead: `try_fold(*h, |current_exchange, (next_exchange, next_amount)| ...)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
    = note: `#[warn(clippy::manual_try_fold)]` on by default