fix doc comment for `ty::Dynamic
This commit is contained in:
parent
b8719c51e0
commit
7ca2c981b2
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ pub enum TyKind<'tcx> {
|
||||||
/// ```
|
/// ```
|
||||||
FnPtr(PolyFnSig<'tcx>),
|
FnPtr(PolyFnSig<'tcx>),
|
||||||
|
|
||||||
/// A trait, defined with `trait`.
|
/// A trait object. Written as `dyn for<'b> Trait<'b, Assoc = u32> + Send + 'a`.
|
||||||
Dynamic(&'tcx List<Binder<ExistentialPredicate<'tcx>>>, ty::Region<'tcx>),
|
Dynamic(&'tcx List<Binder<ExistentialPredicate<'tcx>>>, ty::Region<'tcx>),
|
||||||
|
|
||||||
/// The anonymous type of a closure. Used to represent the type of
|
/// The anonymous type of a closure. Used to represent the type of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue