Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
This commit is contained in:
pierwill 2020-12-20 09:53:26 -08:00 committed by GitHub
parent 2ad5292aea
commit 32baf233c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]>,
}