Fix typo in Small_Array procedure
This commit is contained in:
1 parent
1fd1203d8b
commit
b8bebf4511
1 file changed
+1
-1
@@ -66,7 +66,7 @@ small_array_pop_back :: proc(a: ^$A/Small_Array($N, $T), loc := #caller_location
|
||||
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);
|
||||
item := a.data[0];
|
||||
s := small_array_slice(a);
|
||||
|
||||
Reference in new issue
Block a user