Skip to content

Commit

Permalink
Rollup merge of #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
GuillaumeGomez authored Dec 22, 2020
2 parents e116732 + 32baf23 commit 5589261
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 5589261

Please sign in to comment.