diff options
author | lcnr <rust@lcnr.de> | 2021-03-26 19:52:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 19:52:09 +0100 |
commit | 7ca2c981b28676a8411e0b2c96db001b9633c1d2 (patch) | |
tree | 6564451ee24d93afe16901045cd6ff8939926b56 | |
parent | b8719c51e0e44483cff9b6975a830f6e51812a48 (diff) | |
download | rust-7ca2c981b28676a8411e0b2c96db001b9633c1d2.tar.gz |
fix doc comment for `ty::Dynamiclcnr-doc-patch
-rw-r--r-- | compiler/rustc_middle/src/ty/sty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs index 2cd969d7a16..e78e928398f 100644 --- a/compiler/rustc_middle/src/ty/sty.rs +++ b/compiler/rustc_middle/src/ty/sty.rs @@ -160,7 +160,7 @@ pub enum TyKind<'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>), /// The anonymous type of a closure. Used to represent the type of |