mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix error: Cannot assign to a procedure parameter
This commit is contained in:
@@ -26,6 +26,7 @@ ring_prev :: proc(r: ^$R/Ring) -> ^R {
|
|||||||
|
|
||||||
|
|
||||||
ring_move :: proc(r: ^$R/Ring, n: int) -> ^R {
|
ring_move :: proc(r: ^$R/Ring, n: int) -> ^R {
|
||||||
|
r := r;
|
||||||
if r.next == nil {
|
if r.next == nil {
|
||||||
return ring_init(r);
|
return ring_init(r);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user