We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98bd568 + 07381a9 commit f9db607Copy full SHA for f9db607
src/expressions/call-expr.md
@@ -1,5 +1,12 @@
1
# Call expressions
2
3
+> **<sup>Syntax</sup>**
4
+> _CallExpression_ :
5
+> [_Expression_] `(` _CallParams_<sup>?</sup> `)`
6
+>
7
+> _CallParams_ :
8
+> [_Expression_] ( `,` [_Expression_] )<sup>\*</sup> `,`<sup>?</sup>
9
+
10
A _call expression_ consists of an expression followed by a parenthesized
11
expression-list. It invokes a function, providing zero or more input variables.
12
If the function eventually returns, then the expression completes. For
@@ -87,3 +94,5 @@ fn main() {
87
94
Refer to [RFC 132] for further details and motivations.
88
95
89
96
[RFC 132]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
97
98
+[_Expression_]: expressions.html
0 commit comments