Correct use cannot have type args as per flodiebold

This commit is contained in:
veetaha 2020-05-10 20:23:29 +03:00
parent a19b164661
commit 2af6b4b67e
2 changed files with 2 additions and 2 deletions

View file

@ -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<T>: Iterator<❰ Item: Debug ❱> {}
/// ```

View file

@ -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<T>: Iterator<❰ Item: Debug ❱> {}
/// ```