diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-23 00:13:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 00:13:43 +0100 |
| commit | 558926142cac3521a57f90fdd4050d8367a9aeaf (patch) | |
| tree | 30eb24947a113fb34e445abfd8c711d44953190d | |
| parent | e116732b4babbac006237db6cf80069446bf9a36 (diff) | |
| parent | 32baf233c53f3aaddec43457b87753bdb5e8c7b2 (diff) | |
| download | rust-558926142cac3521a57f90fdd4050d8367a9aeaf.tar.gz rust-558926142cac3521a57f90fdd4050d8367a9aeaf.zip | |
Rollup merge of #80241 - pierwill:patch-12, r=lcnr
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]>, } |
