Skip to content

Commit

Permalink
Rollup merge of rust-lang#80241 - pierwill:patch-12, r=lcnr
Browse files Browse the repository at this point in the history
Fix typo

Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
  • Loading branch information
Dylan-DPC authored Dec 21, 2020
2 parents 1ae2913 + 32baf23 commit 698e258
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct DefIdForest {
/// If A and B are DefIds in the `DefIdForest`, and A is a descendant
/// of B, then only B will be in `root_ids`.
/// We use a `SmallVec` here because (for its use for caching inhabitedness)
/// its rare that this will contain even two IDs.
/// it's rare that this will contain even two IDs.
root_ids: SmallVec<[DefId; 1]>,
}

Expand Down

0 comments on commit 698e258

Please sign in to comment.