Skip to content

Commit

Permalink
Rollup merge of #83525 - rust-lang:lcnr-doc-patch, r=jonas-schievink
Browse files Browse the repository at this point in the history
fix doc comment for `ty::Dynamic`
  • Loading branch information
JohnTitor authored Mar 27, 2021
2 parents 3d5787b + 7ca2c98 commit 597ef13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/sty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 597ef13

Please sign in to comment.