about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-03-10 09:20:12 -0800
committerCamelid <camelidcamel@gmail.com>2021-03-10 09:20:53 -0800
commitd31f70c87c4e6451eaf69009fcf62c4435bf4174 (patch)
tree1e539f578c87f32eadeb514288447396f2f47758
parentb782939c06eb97bb276ce3cd4aac46eb1ebd511a (diff)
downloadrust-d31f70c87c4e6451eaf69009fcf62c4435bf4174.tar.gz
rust-d31f70c87c4e6451eaf69009fcf62c4435bf4174.zip
Clarify docs
-rw-r--r--compiler/rustc_hir/src/lang_items.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/lang_items.rs b/compiler/rustc_hir/src/lang_items.rs
index 84c874ee537..e7a042a6348 100644
--- a/compiler/rustc_hir/src/lang_items.rs
+++ b/compiler/rustc_hir/src/lang_items.rs
@@ -74,7 +74,8 @@ macro_rules! language_item_table {
             }
         }
 
-        /// All of the language items in the current crate, defined or not.
+        /// All of the language items, defined or not.
+        /// Defined lang items can come from the current crate or its dependencies.
         #[derive(HashStable_Generic, Debug)]
         pub struct LanguageItems {
             /// Mappings from lang items to their possibly found [`DefId`]s.