From fc8c94324e207d5ca919077e8bf4e19fd6be5e5f Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 29 Mar 2021 15:43:33 +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 32d6bea18..75105a1c4 100644 --- a/core/slice/slice.odin +++ b/core/slice/slice.odin @@ -139,7 +139,7 @@ fill :: proc(array: $T/[]$E, value: T) { } } -rotate_left :: proc(array: $T/[]$E, k: int) { +rotate_left :: proc(array: $T/[]$E, mid: int) { n := len(array); m := mid %% n; k := n - m;