We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
safe
unsafe
1 parent 7803352 commit f8f1e43Copy full SHA for f8f1e43
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