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 jswrenn committed Oct 24, 2023
1 parent 12df5ce commit 6710e71
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
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 6710e71

Please sign in to comment.