Skip to content

Commit 34b4ce0

Browse files
committed
Revert "The blanket impl works with Infallible now"
Same reason as for the parent commit. This reverts commit 0dd1825.
1 parent 7322b6e commit 34b4ce0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ impl<T> UnwrapInfallible for Result<T, Infallible> {
7979
mod tests {
8080
use super::UnwrapInfallible;
8181

82+
// Hmm, Infallible is not Into<!> yet
83+
#[cfg(not(feature = "blanket_impl"))]
8284
#[test]
8385
fn with_infallible() {
8486
use core::convert::TryFrom;

0 commit comments

Comments
 (0)