Skip to content

Commit 1b01e0d

Browse files
authored
Rollup merge of #83525 - rust-lang:lcnr-doc-patch, r=jonas-schievink
fix doc comment for `ty::Dynamic`
2 parents d340f63 + 7ca2c98 commit 1b01e0d

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/sty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub enum TyKind<'tcx> {
160160
/// ```
161161
FnPtr(PolyFnSig<'tcx>),
162162

163-
/// A trait, defined with `trait`.
163+
/// A trait object. Written as `dyn for<'b> Trait<'b, Assoc = u32> + Send + 'a`.
164164
Dynamic(&'tcx List<Binder<ExistentialPredicate<'tcx>>>, ty::Region<'tcx>),
165165

166166
/// The anonymous type of a closure. Used to represent the type of

0 commit comments

Comments
 (0)