mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
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
|
/// If A and B are DefIds in the `DefIdForest`, and A is a descendant
|
||||||
/// of B, then only B will be in `root_ids`.
|
/// of B, then only B will be in `root_ids`.
|
||||||
/// We use a `SmallVec` here because (for its use for caching inhabitedness)
|
/// 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]>,
|
root_ids: SmallVec<[DefId; 1]>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user