You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/keywords.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,8 @@ is possible to declare a variable or method with the name `union`.
104
104
> KW_MACRO_RULES : `macro_rules`\
105
105
> KW_UNION : `union`\
106
106
> KW_STATICLIFETIME : `'static`\
107
-
> KW_SAFE : `safe`
107
+
> KW_SAFE : `safe`\
108
+
> KW_RAW : `raw`
108
109
>
109
110
> **<sup>Lexer 2015</sup>**\
110
111
> KW_DYN : `dyn`
@@ -127,6 +128,8 @@ is possible to declare a variable or method with the name `union`.
127
128
128
129
*`safe` is used for functions and statics, which has meaning in [external blocks].
129
130
131
+
*`raw` is used for [raw borrow operators], and is only a keyword when matching a raw borrow operator form (such as `&raw const expr` or `&raw mut expr`).
132
+
130
133
[items]: items.md
131
134
[Variables]: variables.md
132
135
[Type parameters]: types/parameters.md
@@ -141,3 +144,4 @@ is possible to declare a variable or method with the name `union`.
0 commit comments