diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-03-10 09:20:12 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-03-10 09:20:53 -0800 |
| commit | d31f70c87c4e6451eaf69009fcf62c4435bf4174 (patch) | |
| tree | 1e539f578c87f32eadeb514288447396f2f47758 | |
| parent | b782939c06eb97bb276ce3cd4aac46eb1ebd511a (diff) | |
| download | rust-d31f70c87c4e6451eaf69009fcf62c4435bf4174.tar.gz rust-d31f70c87c4e6451eaf69009fcf62c4435bf4174.zip | |
Clarify docs
| -rw-r--r-- | compiler/rustc_hir/src/lang_items.rs | 3 |
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. |
