mirror of
https://github.com/RGBCube/is-even-u16
synced 2025-07-27 22:57:44 +00:00
Actually, we can't be sure, so use unreachable!()
This commit is contained in:
parent
45b5295c65
commit
4042383946
1 changed files with 4 additions and 1 deletions
|
@ -196604,5 +196604,8 @@ pub fn is_even_u16(n: u16) -> bool {
|
|||
if n == 65534 {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
if n == 65535 {
|
||||
return false;
|
||||
}
|
||||
unreachable!()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue