mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix typo in Small_Array procedure
This commit is contained in:
@@ -66,7 +66,7 @@ small_array_pop_back :: proc(a: ^$A/Small_Array($N, $T), loc := #caller_location
|
|||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|
||||||
small_array_pop_font :: proc(a: ^$A/Small_Array($N, $T), loc := #caller_location) -> T {
|
small_array_pop_front :: proc(a: ^$A/Small_Array($N, $T), loc := #caller_location) -> T {
|
||||||
assert(condition=a.len > 0, loc=loc);
|
assert(condition=a.len > 0, loc=loc);
|
||||||
item := a.data[0];
|
item := a.data[0];
|
||||||
s := small_array_slice(a);
|
s := small_array_slice(a);
|
||||||
|
|||||||
Reference in New Issue
Block a user