|
286 | 286 |
|
287 | 287 | <!-- Various things involving parens and tuples --> |
288 | 288 |
|
| 289 | +<!-- * `()`: empty tuple (*a.k.a.* unit), both literal and type. --> |
| 290 | +<!-- * `(expr)`: parenthesized expression. --> |
| 291 | +<!-- * `(expr,)`: single-element tuple expression. See [Primitive Types (Tuples)]. --> |
| 292 | +<!-- * `(type,)`: single-element tuple type. See [Primitive Types (Tuples)]. --> |
| 293 | +<!-- * `(expr, …)`: tuple expression. See [Primitive Types (Tuples)]. --> |
| 294 | +<!-- * `(type, …)`: tuple type. See [Primitive Types (Tuples)]. --> |
| 295 | +<!-- * `expr(expr, …)`: function call expression. Also used to initialize tuple `struct`s and tuple `enum` variants. See [Functions]. --> |
| 296 | +<!-- * `ident!(…)`, `ident!{…}`, `ident![…]`: macro invocation. See [Macros]. --> |
| 297 | +<!-- * `expr.0`, `expr.1`, …: tuple indexing. See [Primitive Types (Tuple Indexing)]. --> |
289 | 298 | * `()`: 空タプル(*あるいは* ユニット)の、リテラルと型両方。 |
290 | 299 | * `(expr)`: 括弧付きの式。 |
291 | 300 | * `(expr,)`: 1要素タプルの式。 [プリミティブ型 (タプル)] 参照。 |
292 | 301 | * `(type,)`: 1要素タプルの型。 [プリミティブ型 (タプル)] 参照。 |
293 | 302 | * `(expr, …)`: タプル式。 [プリミティブ型 (タプル)] 参照。 |
294 | 303 | * `(type, …)`: タプル型。 [プリミティブ型 (タプル)] 参照。 |
295 | | -* `expr(expr, …)`: 関数呼び出し式。また、 タプル `struct` 、 タプル `enum` を初期化するのにも使われる。 [関数] 参照。 |
| 304 | +* `expr(expr, …)`: 関数呼び出し式。また、 タプル `struct` 、 タプル `enum` のヴァリアントを初期化するのにも使われる。 [関数] 参照。 |
296 | 305 | * `ident!(…)`, `ident!{…}`, `ident![…]`: マクロの起動。 [マクロ] 参照。 |
297 | 306 | * `expr.0`, `expr.1`, …: タプルのインデックス。 [プリミティブ型 (タプルのインデックス)] 参照。 |
298 | 307 |
|
|
0 commit comments