diff options
author | veetaha <[email protected]> | 2020-05-10 18:52:25 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-10 18:52:25 +0100 |
commit | f6fd4c4a74b768f05c3dff8e991066e425ebc368 (patch) | |
tree | 10d81d015aaea4348d9407f2b43de7f8133f9e20 /crates/ra_syntax/src/ast/generated | |
parent | 9a82ee0de25901447fc49a9337d7290c0e6f6532 (diff) |
Correcy use tree and type args docs
Diffstat (limited to 'crates/ra_syntax/src/ast/generated')
-rw-r--r-- | crates/ra_syntax/src/ast/generated/nodes.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index 3e5624bd2..2b652dcb5 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs | |||
@@ -2234,7 +2234,7 @@ impl UseItem { | |||
2234 | /// pub use ❰ foo::❰ * ❱ ❱; | 2234 | /// pub use ❰ foo::❰ * ❱ ❱; |
2235 | /// use ❰ bar as baz ❱; | 2235 | /// use ❰ bar as baz ❱; |
2236 | /// use ❰ bruh::bruuh::{ ❰ self ❱, ❰ blin ❱ } ❱; | 2236 | /// use ❰ bruh::bruuh::{ ❰ self ❱, ❰ blin ❱ } ❱; |
2237 | /// use ❰ { ❰ blin::blen ❱ } ❱ // TODO: clarify if top-level curlies are `UseTree` | 2237 | /// use ❰ { ❰ blin::blen ❱ } ❱ |
2238 | /// ``` | 2238 | /// ``` |
2239 | /// | 2239 | /// |
2240 | /// [Reference](https://doc.rust-lang.org/reference/items/use-declarations.html) | 2240 | /// [Reference](https://doc.rust-lang.org/reference/items/use-declarations.html) |
@@ -2374,7 +2374,7 @@ impl PathSegment { | |||
2374 | /// List of type arguments that are passed at generic instantiation site. | 2374 | /// List of type arguments that are passed at generic instantiation site. |
2375 | /// | 2375 | /// |
2376 | /// ``` | 2376 | /// ``` |
2377 | /// use foo ❰ ::<'a, u64, Item = Bar, 42, true> ❱::bar; | 2377 | /// type _ = Foo ❰ ::<'a, u64, Item = Bar, 42, {true}> ❱::Bar; |
2378 | /// | 2378 | /// |
2379 | /// Vec❰ ::<bool> ❱::(); | 2379 | /// Vec❰ ::<bool> ❱::(); |
2380 | /// ``` | 2380 | /// ``` |
@@ -2397,7 +2397,7 @@ impl TypeArgList { | |||
2397 | /// Type argument that is passed at generic instantiation site. | 2397 | /// Type argument that is passed at generic instantiation site. |
2398 | /// | 2398 | /// |
2399 | /// ``` | 2399 | /// ``` |
2400 | /// use foo::<'a, ❰ u64 ❱, ❰ bool ❱, Item = Bar, 42>::baz; | 2400 | /// type _ = Foo::<'a, ❰ u64 ❱, ❰ bool ❱, Item = Bar, 42>::Baz; |
2401 | /// ``` | 2401 | /// ``` |
2402 | /// | 2402 | /// |
2403 | /// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions) | 2403 | /// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions) |