fixed type in slice.rotate

sry bll,
i swear im never programming tired again
This commit is contained in:
TheRadischen
2026-06-12 21:48:41 +02:00
committed by GitHub
parent 47cf0d3f42
commit f41b57f1cc

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)