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.
1 parent 0fe0cd1 commit 5812e00Copy full SHA for 5812e00
std/src/keyword_docs.rs
@@ -1428,7 +1428,7 @@ mod self_upper_keyword {}
1428
///
1429
/// ```rust,no_run
1430
/// # #![allow(dead_code)]
1431
-/// extern "C" {
+/// unsafe extern "C" {
1432
/// static mut ERROR_MESSAGE: *mut std::os::raw::c_char;
1433
/// }
1434
/// ```
@@ -1925,7 +1925,7 @@ mod type_keyword {}
1925
1926
/// unsafe fn unsafe_fn() {}
1927
1928
1929
/// fn unsafe_extern_fn();
1930
/// static BAR: *mut u32;
1931
0 commit comments