From 8e1120bc09bbcebaca6a2ce6d90053275677e664 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 13 Apr 2021 19:23:12 +0100 Subject: [PATCH] Fix typo --- core/slice/slice.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/slice/slice.odin b/core/slice/slice.odin index fdacb842f..863ccd6cb 100644 --- a/core/slice/slice.odin +++ b/core/slice/slice.odin @@ -133,7 +133,7 @@ has_suffix :: proc(array: $T/[]$E, needle: T) -> bool where intrinsics.type_is_c return false; } -fill :: proc(array: $T/[]$E, value: T) { +fill :: proc(array: $T/[]$E, value: E) { for _, i in array { array[i] = value; }