Skip to content

Commit

Permalink
Rollup merge of rust-lang#83525 - rust-lang:lcnr-doc-patch, r=jonas-s…
Browse files Browse the repository at this point in the history
…chievink

fix doc comment for `ty::Dynamic`
  • Loading branch information
JohnTitor authored Mar 27, 2021
2 parents d340f63 + 7ca2c98 commit 1b01e0d
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 1b01e0d

Please sign in to comment.