]> git.lizzy.rs Git - rust.git/blobdiff - xtask/src/ast_src.rs
Correct `use` cannot have type args as per flodiebold
[rust.git] / xtask / src / ast_src.rs
index 61580bd1a18b922b56ad25e2f543a1f9d3d1689f..e68c77a626dbf6a2db35c3e511d866f392d2599a 100644 (file)
@@ -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<T>: Iterator<❰ Item: Debug ❱> {}
         /// ```