Skip to content

Commit 2a59240

Browse files
Owen-CH-LeungPhilippe-Cholet
authored andcommitted
fix failing msrv test
1 parent 147915b commit 2a59240

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/adaptors/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,10 @@ where
591591
Some(item) => Ok(f(acc, item)),
592592
None => Err(acc),
593593
});
594-
let (Err(res) | Ok(res)) = res;
594+
let res = match res {
595+
Ok(val) => val,
596+
Err(val) => val,
597+
};
595598
res
596599
}
597600
}

0 commit comments

Comments
 (0)