std: Apply missing_unsafe_on_extern
This commit is contained in:
parent
9e60b0e554
commit
c1791a1b48
1 changed files with 2 additions and 2 deletions
|
@ -1428,7 +1428,7 @@ mod self_upper_keyword {}
|
||||||
///
|
///
|
||||||
/// ```rust,no_run
|
/// ```rust,no_run
|
||||||
/// # #![allow(dead_code)]
|
/// # #![allow(dead_code)]
|
||||||
/// extern "C" {
|
/// unsafe extern "C" {
|
||||||
/// static mut ERROR_MESSAGE: *mut std::os::raw::c_char;
|
/// static mut ERROR_MESSAGE: *mut std::os::raw::c_char;
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
@ -1925,7 +1925,7 @@ mod type_keyword {}
|
||||||
///
|
///
|
||||||
/// unsafe fn unsafe_fn() {}
|
/// unsafe fn unsafe_fn() {}
|
||||||
///
|
///
|
||||||
/// extern "C" {
|
/// unsafe extern "C" {
|
||||||
/// fn unsafe_extern_fn();
|
/// fn unsafe_extern_fn();
|
||||||
/// static BAR: *mut u32;
|
/// static BAR: *mut u32;
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue