Merge pull request #6828 from TheRadischen/patch-4

fixed wrong variable name in slice.rotate
This commit is contained in:
Jeroen van Rijn
2026-06-12 22:38:54 +02:00
committed by GitHub

View File

@@ -433,7 +433,7 @@ fill :: proc "contextless" (array: $T/[]$E, value: E) #no_bounds_check {
}
rotate_left :: proc "contextless" (array: $T/[]$E, mid: int) {
if len(a) == 0 {
if len(array) == 0 {
return
}
n := len(array)