Correct use
cannot have type args as per flodiebold
This commit is contained in:
parent
a19b164661
commit
2af6b4b67e
@ -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 ❱> {}
|
||||
/// ```
|
||||
|
@ -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 ❱> {}
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user