Skip to content

Commit 30407d2

Browse files
gnzlbgCentril
andcommitted
Update src/items/external-blocks.md
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent ace3935 commit 30407d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/external-blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
3232
External blocks provide _declarations_ of items that are not _defined_ in the
3333
current crate and are the basis of Rust's foreign function interface. Using
34-
items declared in external blocks is `unsafe`.
34+
items declared in external blocks is only allowed in an `unsafe` context.
3535

3636
Two kind of item _declarations_ are allowed in external blocks:
3737
[functions] and [statics].

0 commit comments

Comments
 (0)