about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-12-23 00:13:43 +0100
committerGitHub <noreply@github.com>2020-12-23 00:13:43 +0100
commit558926142cac3521a57f90fdd4050d8367a9aeaf (patch)
tree30eb24947a113fb34e445abfd8c711d44953190d
parente116732b4babbac006237db6cf80069446bf9a36 (diff)
parent32baf233c53f3aaddec43457b87753bdb5e8c7b2 (diff)
downloadrust-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.rs2
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]>,
 }