Skip to content

Commit

Permalink
Make clippy happy (#501)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored Nov 20, 2023
1 parent b0a8624 commit aabc1d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.73.0
toolchain: 1.74.0
profile: minimal
components: clippy, rustfmt
override: true
Expand Down
2 changes: 1 addition & 1 deletion clotributor-registrar/src/registrar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub(crate) async fn run(cfg: &Config, db: DynDB) -> Result<()> {
|final_result, task_result| match task_result {
Ok(()) => final_result,
Err(task_err) => match final_result {
Ok(()) => Err(task_err).map_err(Into::into),
Ok(()) => Err(Into::into(task_err)),
Err(final_err) => Err(format_err!("{:#}\n{:#}", final_err, task_err)),
},
},
Expand Down
2 changes: 1 addition & 1 deletion clotributor-tracker/src/tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ pub(crate) async fn run(cfg: &Config, db: DynDB, gh: DynGH) -> Result<()> {
|final_result, task_result| match task_result {
Ok(()) => final_result,
Err(task_err) => match final_result {
Ok(()) => Err(task_err).map_err(Into::into),
Ok(()) => Err(Into::into(task_err)),
Err(final_err) => Err(format_err!("{:#}\n{:#}", final_err, task_err)),
},
},
Expand Down

0 comments on commit aabc1d4

Please sign in to comment.