From f6fd4c4a74b768f05c3dff8e991066e425ebc368 Mon Sep 17 00:00:00 2001 From: veetaha Date: Sun, 10 May 2020 20:52:25 +0300 Subject: Correcy use tree and type args docs --- crates/ra_syntax/src/ast/generated/nodes.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_syntax/src/ast/generated') 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 { /// pub use ❰ foo::❰ * ❱ ❱; /// use ❰ bar as baz ❱; /// use ❰ bruh::bruuh::{ ❰ self ❱, ❰ blin ❱ } ❱; -/// use ❰ { ❰ blin::blen ❱ } ❱ // TODO: clarify if top-level curlies are `UseTree` +/// use ❰ { ❰ blin::blen ❱ } ❱ /// ``` /// /// [Reference](https://doc.rust-lang.org/reference/items/use-declarations.html) @@ -2374,7 +2374,7 @@ impl PathSegment { /// List of type arguments that are passed at generic instantiation site. /// /// ``` -/// use foo ❰ ::<'a, u64, Item = Bar, 42, true> ❱::bar; +/// type _ = Foo ❰ ::<'a, u64, Item = Bar, 42, {true}> ❱::Bar; /// /// Vec❰ :: ❱::(); /// ``` @@ -2397,7 +2397,7 @@ impl TypeArgList { /// Type argument that is passed at generic instantiation site. /// /// ``` -/// use foo::<'a, ❰ u64 ❱, ❰ bool ❱, Item = Bar, 42>::baz; +/// type _ = Foo::<'a, ❰ u64 ❱, ❰ bool ❱, Item = Bar, 42>::Baz; /// ``` /// /// [Reference](https://doc.rust-lang.org/reference/paths.html#paths-in-expressions) -- cgit v1.2.3