We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
safe
unsafe
1 parent 1072b01 commit a1a6f29Copy full SHA for a1a6f29
src/items/external-blocks.md
@@ -27,7 +27,8 @@ The external block defines its functions and statics in the [value namespace] of
27
28
**Edition differences**: Starting in the 2024 edition, the `unsafe` keyword is
29
required to appear before the `extern` keyword on external blocks. In previous
30
-editions, it is accepted but not required.
+editions, it is accepted but not required. The `safe` and `unsafe` item qualifiers
31
+are only allowed if the external block itself is marked as `unsafe`.
32
33
## Functions
34
0 commit comments