Browse Source

Fix typo in Small_Array procedure

gingerBill 5 years ago
parent
commit
b8bebf4511
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/container/small_array.odin

+ 1 - 1
core/container/small_array.odin

@@ -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);