Skip to content

Unsafe documentation fix: extern block cannot be marked unsafe - #4496

Closed
cre-mer wants to merge 3 commits into
rust-lang:mainfrom
cre-mer:patch-1
Closed

Unsafe documentation fix: extern block cannot be marked unsafe#4496
cre-mer wants to merge 3 commits into
rust-lang:mainfrom
cre-mer:patch-1

Conversation

@cre-mer

@cre-mer cre-mer commented Sep 5, 2025

Copy link
Copy Markdown

The syntax for declaring a block of external functions has consistently been extern "C" { ... }. There is no preceding unsafe keyword.

@cre-mer cre-mer closed this Sep 5, 2025
@cre-mer
cre-mer deleted the patch-1 branch September 5, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant