We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
callAsFunction
1 parent c834be8 commit 651dd4fCopy full SHA for 651dd4f
CHANGELOG.md
@@ -40,7 +40,7 @@ Swift Next
40
}
41
42
var adder = Adder(base: 3)
43
- adder(10) // same as `adder.callAsFunction(10)`
+ adder(10) // returns 13, same as `adder.callAsFunction(10)`
44
```
45
46
`func callAsFunction` argument labels are required at call sites.
0 commit comments