diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index fc6733d648c..3e5624bd2e9 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs @@ -2410,7 +2410,7 @@ pub fn type_ref(&self) -> Option { support::child(&self.syntax) } } /// 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 61580bd1a18..e68c77a626d 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -1961,7 +1961,7 @@ struct TypeArg { TypeRef } /// 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 ❱> {} /// ```