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.
1 parent 463f79b commit ed2a14aCopy full SHA for ed2a14a
rust/schema/annotations.py
@@ -1828,13 +1828,15 @@ class _:
1828
@annotate(StmtList)
1829
class _:
1830
"""
1831
- A list of statements in a block.
+ A list of statements in a block, with an optional tail expression at the
1832
+ end that determines the block's value.
1833
1834
For example:
1835
```rust
1836
{
1837
let x = 1;
1838
let y = 2;
1839
+ x + y
1840
}
1841
// ^^^^^^^^^
1842
```
0 commit comments