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

Bump lettre from 0.10.4 to 0.11.0 (#125) #361

Bump lettre from 0.10.4 to 0.11.0 (#125)

Bump lettre from 0.10.4 to 0.11.0 (#125) #361

GitHub Actions / clippy succeeded Oct 17, 2023 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.75.0-nightly (49691b1f7 2023-10-16)
  • cargo 1.75.0-nightly (6fa6fdc76 2023-10-10)
  • clippy 0.1.75 (49691b1 2023-10-16)

Annotations

Check warning on line 179 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `expect` followed by a function call

warning: use of `expect` followed by a function call
   --> src/hunter.rs:176:65
    |
176 |               util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.expect(&format!(
    |  __________________________________________________________________________^
177 | |                 "no existing crowdloan found for parachain({})",
178 | |                 self.configuration.bid.para_id,
179 | |             )))
    | |______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
    = note: `#[warn(clippy::expect_fun_call)]` on by default
help: try
    |
176 ~             util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.unwrap_or_else(|| panic!("no existing crowdloan found for parachain({})",
177 ~                 self.configuration.bid.para_id)))
    |

Check warning on line 179 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `expect` followed by a function call

warning: use of `expect` followed by a function call
   --> src/hunter.rs:176:65
    |
176 |               util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.expect(&format!(
    |  __________________________________________________________________________^
177 | |                 "no existing crowdloan found for parachain({})",
178 | |                 self.configuration.bid.para_id,
179 | |             )))
    | |______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
    = note: `#[warn(clippy::expect_fun_call)]` on by default
help: try
    |
176 ~             util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.unwrap_or_else(|| panic!("no existing crowdloan found for parachain({})",
177 ~                 self.configuration.bid.para_id)))
    |