Skip to content

Commit

Permalink
fix failing msrv test
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-CH-Leung authored and Philippe-Cholet committed Oct 24, 2023
1 parent 147915b commit 2a59240
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/adaptors/mod.rs
Original file line number Diff line number Diff line change
@@ -591,7 +591,10 @@ where
Some(item) => Ok(f(acc, item)),
None => Err(acc),
});
let (Err(res) | Ok(res)) = res;
let res = match res {
Ok(val) => val,
Err(val) => val,
};
res
}
}

0 comments on commit 2a59240

Please sign in to comment.