mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
.. half closed range; ... open range; ... variadic syntax
This commit is contained in:
+1
-1
@@ -175,7 +175,7 @@ murmur64 :: proc(data: []u8) -> u64 {
|
||||
}
|
||||
|
||||
// TODO(bill): Fix this
|
||||
#no_bounds_check data8 := slice_to_bytes(data32[i..])[0..<3];
|
||||
#no_bounds_check data8 := slice_to_bytes(data32[i..])[..3];
|
||||
match len {
|
||||
case 3:
|
||||
h2 ~= u32(data8[2]) << 16;
|
||||
|
||||
Reference in New Issue
Block a user