mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-14 06:13:45 +00:00
Merge pull request #6828 from TheRadischen/patch-4
fixed wrong variable name in slice.rotate
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user