MatchBranchSimplification: Consider empty-unreachable otherwise branch

This commit is contained in:
clubby789 2024-10-04 20:26:41 +00:00
parent 11f7e302e1
commit e32ec45c02
7 changed files with 81 additions and 48 deletions

View file

@ -18,6 +18,13 @@ impl Pu128 {
}
}
impl From<Pu128> for u128 {
#[inline]
fn from(value: Pu128) -> Self {
value.get()
}
}
impl From<u128> for Pu128 {
#[inline]
fn from(value: u128) -> Self {