diff options
| author | pierwill <19642016+pierwill@users.noreply.github.com> | 2020-12-20 09:53:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-20 09:53:26 -0800 |
| commit | 32baf233c53f3aaddec43457b87753bdb5e8c7b2 (patch) | |
| tree | f3ed044fe9531e01c9defde16619a82676b67f0c | |
| parent | 2ad5292aea6328113b55968b4322528d48261316 (diff) | |
| download | rust-32baf233c53f3aaddec43457b87753bdb5e8c7b2.tar.gz rust-32baf233c53f3aaddec43457b87753bdb5e8c7b2.zip | |
Fix typo
Fix typo in rustc_middle::ty::inhabitedness::DefIdForest docs.
| -rw-r--r-- | compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs b/compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs index ee6b06a1cc8..d9aebfc8293 100644 --- a/compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs +++ b/compiler/rustc_middle/src/ty/inhabitedness/def_id_forest.rs @@ -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]>, } |
