MatchBranchSimplification: Consider empty-unreachable otherwise branch
This commit is contained in:
parent
11f7e302e1
commit
e32ec45c02
7 changed files with 81 additions and 48 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue