1
Fork 0

Rollup merge of #80241 - pierwill:patch-12, r=lcnr

Fix typo

Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
This commit is contained in:
Guillaume Gomez 2020-12-23 00:13:43 +01:00 committed by GitHub
commit 558926142c
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]>,
}