Skip to content

Commit

Permalink
Use empty match to handle Infallible
Browse files Browse the repository at this point in the history
  • Loading branch information
wackbyte committed Jul 26, 2023
1 parent a94853f commit 1b0686a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebari/src/roots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ impl AbortError<Infallible> {
#[must_use]
pub fn infallible(self) -> Error {
match self {
AbortError::Other(_) => unreachable!(),
AbortError::Other(infallible) => match infallible {},
AbortError::Nebari(error) => error,
}
}
Expand Down

0 comments on commit 1b0686a

Please sign in to comment.