c argument names in bindings
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ main :: func() i32 {
|
||||
_ = printf("%d: %s projected=%d\n", index, player.name, score)
|
||||
}
|
||||
|
||||
if best_player(players[..]) |winner : projected_score(winner^) >= 80| {
|
||||
if best_player(&players) |winner : projected_score(winner^) >= 80| {
|
||||
_ = printf("winner: %s\n", winner.name)
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user