Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
  • Loading branch information
pierwill committed Dec 20, 2020
1 parent 2ad5292 commit 32baf23
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 32baf23

Please sign in to comment.