File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,9 +185,9 @@ Exhaustive list of permitted structures in const functions:
185185* Reading from constants (but not statics, not even taking a reference to a static)
186186* ` & ` and ` * ` (only dereferencing of references, not raw pointers)
187187* Casts except for raw pointer to integer casts
188- * ` unsafe ` blocks and ` const unsafe fn ` is allowed, but the body/block must consist
189- of safe operations or calls to other const functions only. Further unsafe operations
190- may get allowed in const functions in the future.
188+ * ` unsafe ` blocks and ` const unsafe fn ` are allowed, but the body/block may only do
189+ the following unsafe operations:
190+ * calls to const unsafe functions
191191
192192## Attributes on functions
193193
You can’t perform that action at this time.
0 commit comments