Skip to content

Commit

Permalink
run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
prsabahrami committed Jan 16, 2025
1 parent 8896bc0 commit f19eaa0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions py-rattler/src/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ pub fn py_solve(
Ok::<_, PyErr>(
Solver
.solve(task)
.map(|res| res.into_keys().into_iter().map(Into::into).collect::<Vec<PyRecord>>())
.map(|res| {
res.into_keys()
.into_iter()
.map(Into::into)
.collect::<Vec<PyRecord>>()
})
.map_err(PyRattlerError::from)?,
)
})
Expand Down Expand Up @@ -173,7 +178,12 @@ pub fn py_solve_with_sparse_repodata(
Ok::<_, PyErr>(
Solver
.solve(task)
.map(|res| res.into_keys().into_iter().map(Into::into).collect::<Vec<PyRecord>>())
.map(|res| {
res.into_keys()
.into_iter()
.map(Into::into)
.collect::<Vec<PyRecord>>()
})
.map_err(PyRattlerError::from)?,
)
})
Expand Down

0 comments on commit f19eaa0

Please sign in to comment.