aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated/nodes.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs
index 72977a3c6..22de5aae4 100644
--- a/crates/ra_syntax/src/ast/generated/nodes.rs
+++ b/crates/ra_syntax/src/ast/generated/nodes.rs
@@ -1515,9 +1515,9 @@ impl ParenPat {
1515/// 1515///
1516/// ``` 1516/// ```
1517/// let ❰ &mut foo ❱ = bar; 1517/// let ❰ &mut foo ❱ = bar;
1518///
1519/// let ❰ & ❰ &mut ❰ &_ ❱ ❱ ❱ = baz;
1518/// ``` 1520/// ```
1519/// // TODO: clarify on the special case of double reference pattern
1520/// // described in the link bellow
1521/// 1521///
1522/// [Reference](https://doc.rust-lang.org/reference/patterns.html#reference-patterns) 1522/// [Reference](https://doc.rust-lang.org/reference/patterns.html#reference-patterns)
1523#[derive(Debug, Clone, PartialEq, Eq, Hash)] 1523#[derive(Debug, Clone, PartialEq, Eq, Hash)]
@@ -2069,14 +2069,12 @@ pub struct Abi {
2069} 2069}
2070impl Abi {} 2070impl Abi {}
2071/// Expression statement. 2071/// Expression statement.
2072/// Note: may be empty (i.e. only semicolon).
2073/// 2072///
2074/// ``` 2073/// ```
2075/// ❰ 42; ❱ 2074/// ❰ 42; ❱
2076/// ❰ foo(); ❱ 2075/// ❰ foo(); ❱
2077/// ❰ (); ❱ 2076/// ❰ (); ❱
2078/// ❰ {}; ❱ 2077/// ❰ {}; ❱
2079/// ❰ /* empty */; ❱
2080/// 2078///
2081/// // constructions with trailing curly brace can omit the semicolon // TODO: clarify 2079/// // constructions with trailing curly brace can omit the semicolon // TODO: clarify
2082/// ❰ if bool_cond { } ❱ 2080/// ❰ if bool_cond { } ❱
@@ -2707,6 +2705,8 @@ pub enum AttrInput {
2707 TokenTree(TokenTree), 2705 TokenTree(TokenTree),
2708} 2706}
2709/// Any kind of statement 2707/// Any kind of statement
2708/// Note: there are no empty statements, these are just represented as
2709/// bare semicolons without a dedicated statement ast node.
2710#[derive(Debug, Clone, PartialEq, Eq, Hash)] 2710#[derive(Debug, Clone, PartialEq, Eq, Hash)]
2711pub enum Stmt { 2711pub enum Stmt {
2712 LetStmt(LetStmt), 2712 LetStmt(LetStmt),