Decoder: mark redundant match arm as unreachable
This commit is contained in:
parent
09976fb889
commit
572194c0f2
1 changed files with 6 additions and 1 deletions
|
@ -135,7 +135,12 @@ where
|
|||
*px_out = px;
|
||||
continue;
|
||||
}
|
||||
_ => {}
|
||||
_ => {
|
||||
unsafe {
|
||||
// the compiler should figure it out on its own, but just in case
|
||||
core::hint::unreachable_unchecked()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsafe {
|
||||
|
|
Loading…
Reference in a new issue