diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index fc6733d648..3e5624bd2e 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs @@ -2410,7 +2410,7 @@ impl TypeArg { } /// Associated type argument that is passed at generic instantiation site. /// ``` -/// use foo::<'a, u64, bool, ❰ Item = Bar ❱, 42>::baz; +/// type Foo = Bar::<'a, u64, bool, ❰ Item = Baz ❱, 42>::Bruh; /// /// trait Bruh: Iterator<❰ Item: Debug ❱> {} /// ``` diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 61580bd1a1..e68c77a626 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -1961,7 +1961,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { /// Associated type argument that is passed at generic instantiation site. /// ``` - /// use foo::<'a, u64, bool, ❰ Item = Bar ❱, 42>::baz; + /// type Foo = Bar::<'a, u64, bool, ❰ Item = Baz ❱, 42>::Bruh; /// /// trait Bruh: Iterator<❰ Item: Debug ❱> {} /// ```