diff --git a/compio-buf/src/buf_result.rs b/compio-buf/src/buf_result.rs index 496e46c8..88232674 100644 --- a/compio-buf/src/buf_result.rs +++ b/compio-buf/src/buf_result.rs @@ -124,7 +124,6 @@ impl FromResidual> for BufResult { fn from_residual(residual: BufResult) -> Self { match residual { BufResult(Err(e), b) => BufResult(Err(e), b), - _ => unreachable!(), } } } @@ -144,7 +143,6 @@ impl FromResidual> for io::Result { fn from_residual(residual: BufResult) -> Self { match residual { BufResult(Err(e), _) => Err(e), - _ => unreachable!(), } } }