Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Simplify job-cob code
Rūdolfs Ošiņš committed 9 months ago
commit 6d585cceb0267643245ca9197eab9bf3a96feec0
parent bfa38d9
1 file changed +1 -1
modified crates/radicle-types/src/cobs/job.rs
@@ -33,7 +33,7 @@ impl Job {
                .runs()
                .iter()
                .flat_map(|(node_id, runs)| {
-
                    runs.iter().map(move |(run_id, run)| Run {
+
                    runs.into_iter().map(|(run_id, run)| Run {
                        run_id: run_id.to_string(),
                        node: cobs::Author::new(&(*node_id).into(), aliases),
                        status: (*run.status()).into(),