Skip to content

Commit f646cd4

Browse files
committed
Fill in version that unsafe extern will stabilize
1 parent c320aa4 commit f646cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2024/unsafe-extern.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ More information may be found in the tracking issue at <https://github.com/rust-
1111

1212
## Details
1313

14-
Rust 1.xx <!--TODO--> added the ability in all editions to mark [`extern` blocks] with the `unsafe` keyword.[^RFC3484] Adding the `unsafe` keyword helps to emphasize that it is the responsibility of the author of the `extern` block to ensure that the signatures are correct. If the signatures are not correct, then it may result in undefined behavior.
14+
Rust 1.82 added the ability in all editions to mark [`extern` blocks] with the `unsafe` keyword.[^RFC3484] Adding the `unsafe` keyword helps to emphasize that it is the responsibility of the author of the `extern` block to ensure that the signatures are correct. If the signatures are not correct, then it may result in undefined behavior.
1515

1616
The syntax for an unsafe `extern` block looks like this:
1717

0 commit comments

Comments
 (0)