1
Fork 0

std: Apply missing_unsafe_on_extern

This commit is contained in:
Eric Huss 2025-02-12 14:10:11 -08:00
parent 9e60b0e554
commit c1791a1b48

View file

@ -1428,7 +1428,7 @@ mod self_upper_keyword {}
///
/// ```rust,no_run
/// # #![allow(dead_code)]
/// extern "C" {
/// unsafe extern "C" {
/// static mut ERROR_MESSAGE: *mut std::os::raw::c_char;
/// }
/// ```
@ -1925,7 +1925,7 @@ mod type_keyword {}
///
/// unsafe fn unsafe_fn() {}
///
/// extern "C" {
/// unsafe extern "C" {
/// fn unsafe_extern_fn();
/// static BAR: *mut u32;
/// }