Skip to content

Commit 5ada489

Browse files
ehussgitbot
authored and
gitbot
committed
core: Apply unsafe_attr_outside_unsafe
1 parent 55a40e0 commit 5ada489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/mem/maybe_uninit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ impl<T> MaybeUninit<T> {
345345
///
346346
/// use std::mem::MaybeUninit;
347347
///
348-
/// extern "C" {
348+
/// unsafe extern "C" {
349349
/// fn read_into_buffer(ptr: *mut u8, max_len: usize) -> usize;
350350
/// }
351351
///

0 commit comments

Comments
 (0)