File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Two kinds of item _declarations_ are allowed in external blocks: [functions] and
29
29
[ statics] .
30
30
31
31
r[ items.extern.safety]
32
- Calling unsafe functions or accessing unsafe statics that are declared in external blocks is only allowed in an ` unsafe ` context.
32
+ Calling unsafe functions or accessing unsafe statics that are declared in external blocks is only allowed in an [ ` unsafe ` context] .
33
33
34
34
r[ items.extern.namespace]
35
35
The external block defines its functions and statics in the [ value namespace] of the module or block where it is located.
@@ -465,6 +465,7 @@ restrictions as [regular function parameters].
465
465
[ WebAssembly module ] : https://webassembly.github.io/spec/core/syntax/modules.html
466
466
[ `bundle` documentation for rustc ] : ../../rustc/command-line-arguments.html#linking-modifiers-bundle
467
467
[ `dylib` versus `raw-dylib` ] : #dylib-versus-raw-dylib
468
+ [ `unsafe` context ] : ../unsafe-keyword.md
468
469
[ `verbatim` documentation for rustc ] : ../../rustc/command-line-arguments.html#linking-modifiers-verbatim
469
470
[ `whole-archive` documentation for rustc ] : ../../rustc/command-line-arguments.html#linking-modifiers-whole-archive
470
471
[ attributes ] : ../attributes.md
You can’t perform that action at this time.
0 commit comments