Skip to content

Commit 32baf23

Browse files
authored
Fix typo
Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
1 parent 2ad5292 commit 32baf23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct DefIdForest {
1717
/// If A and B are DefIds in the `DefIdForest`, and A is a descendant
1818
/// of B, then only B will be in `root_ids`.
1919
/// We use a `SmallVec` here because (for its use for caching inhabitedness)
20-
/// its rare that this will contain even two IDs.
20+
/// it's rare that this will contain even two IDs.
2121
root_ids: SmallVec<[DefId; 1]>,
2222
}
2323

0 commit comments

Comments
 (0)