Skip to content

Commit

Permalink
Rollup merge of #80145 - pierwill:patch-8, r=lcnr
Browse files Browse the repository at this point in the history
Fix typo in rustc_typeck docs
  • Loading branch information
RalfJung authored Dec 18, 2020
2 parents 9269995 + 605c978 commit 22a26db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_typeck/src/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ fn adt_destructor(tcx: TyCtxt<'_>, def_id: DefId) -> Option<ty::Destructor> {

/// If this `DefId` is a "primary tables entry", returns
/// `Some((body_id, header, decl))` with information about
/// it's body-id, fn-header and fn-decl (if any). Otherwise,
/// its body-id, fn-header and fn-decl (if any). Otherwise,
/// returns `None`.
///
/// If this function returns `Some`, then `typeck_results(def_id)` will
Expand Down

0 comments on commit 22a26db

Please sign in to comment.