File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1153,12 +1153,20 @@ impl Interner {
1153
1153
}
1154
1154
1155
1155
// This module has a very short name because it's used a lot.
1156
+ /// This module contains all the defined keyword `Symbol`s.
1157
+ ///
1158
+ /// Given that `kw` is imported, use them like `kw::keyword_name`.
1159
+ /// For example `kw::Loop` or `kw::Break`.
1156
1160
pub mod kw {
1157
1161
use super :: Symbol ;
1158
1162
keywords ! ( ) ;
1159
1163
}
1160
1164
1161
1165
// This module has a very short name because it's used a lot.
1166
+ /// This module contains all the defined non-keyword `Symbol`s.
1167
+ ///
1168
+ /// Given that `sym` is imported, use them like `sym::symbol_name`.
1169
+ /// For example `sym::rustfmt` or `sym::u8`.
1162
1170
#[ allow( rustc:: default_hash_types) ]
1163
1171
pub mod sym {
1164
1172
use super :: Symbol ;
You can’t perform that action at this time.
0 commit comments