mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
core: Apply unsafe_attr_outside_unsafe
This commit is contained in:
parent
54cdc751df
commit
ef34064679
@ -345,7 +345,7 @@ impl<T> MaybeUninit<T> {
|
|||||||
///
|
///
|
||||||
/// use std::mem::MaybeUninit;
|
/// use std::mem::MaybeUninit;
|
||||||
///
|
///
|
||||||
/// extern "C" {
|
/// unsafe extern "C" {
|
||||||
/// fn read_into_buffer(ptr: *mut u8, max_len: usize) -> usize;
|
/// fn read_into_buffer(ptr: *mut u8, max_len: usize) -> usize;
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user