Fix typo
Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
This commit is contained in:
parent
2ad5292aea
commit
32baf233c5
@ -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]>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user