1
Fork 0
mirror of https://github.com/RGBCube/is-even-u16 synced 2025-07-28 15:17:46 +00:00

Actually, we can't be sure, so use unreachable!()

This commit is contained in:
RGBCube 2024-03-07 11:56:22 +03:00
parent 45b5295c65
commit 4042383946
No known key found for this signature in database

View file

@ -196604,5 +196604,8 @@ pub fn is_even_u16(n: u16) -> bool {
if n == 65534 { if n == 65534 {
return true; return true;
} }
return false; if n == 65535 {
return false;
}
unreachable!()
} }