From f19eaa047639a7fdcba0dae7f22ad83e1725eb24 Mon Sep 17 00:00:00 2001
From: prsabahrami
Date: Thu, 16 Jan 2025 14:28:20 -0500
Subject: [PATCH] run fmt
---
py-rattler/src/solver.rs | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/py-rattler/src/solver.rs b/py-rattler/src/solver.rs
index 798bc4e23..47a95e23c 100644
--- a/py-rattler/src/solver.rs
+++ b/py-rattler/src/solver.rs
@@ -95,7 +95,12 @@ pub fn py_solve(
Ok::<_, PyErr>(
Solver
.solve(task)
- .map(|res| res.into_keys().into_iter().map(Into::into).collect::>())
+ .map(|res| {
+ res.into_keys()
+ .into_iter()
+ .map(Into::into)
+ .collect::>()
+ })
.map_err(PyRattlerError::from)?,
)
})
@@ -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::>())
+ .map(|res| {
+ res.into_keys()
+ .into_iter()
+ .map(Into::into)
+ .collect::>()
+ })
.map_err(PyRattlerError::from)?,
)
})