From b8bebf451183b563274592234f38619b2dd9456b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 14 Sep 2020 10:10:35 +0100 Subject: [PATCH] Fix typo in Small_Array procedure --- core/container/small_array.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/container/small_array.odin b/core/container/small_array.odin index 62dab52e3..235c42a77 100644 --- a/core/container/small_array.odin +++ b/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);