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 @@ pub fn type_ref(&self) -> Option<TypeRef> { 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<T>: Iterator<❰ Item: Debug ❱> {}
/// ```

View 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 ❱> {}
/// ```