Skip to content

Commit

Permalink
Fix old style named call.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Dec 28, 2024
1 parent 46cec58 commit 9d04dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/Language Fundamentals/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ fn void testme(int a, double... x, double rate = 1.0) { /* ... */ }
fn void test()
{
// x is { 2.0, 5.0 } rate would be 6.0
testme(3, 2.0, 5.0, .rate = 6.0);
testme(3, 2.0, 5.0, rate: 6.0);
}
```

Expand Down

0 comments on commit 9d04dde

Please sign in to comment.