Skip to content

Commit d299573

Browse files
ehussgitbot
authored and
gitbot
committed
alloc: Apply missing_unsafe_on_extern
1 parent ec4f2b9 commit d299573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ impl<T, A: Allocator> Vec<T, A> {
18371837
/// # // don't use this as a starting point for a real library.
18381838
/// # pub struct StreamWrapper { strm: *mut std::ffi::c_void }
18391839
/// # const Z_OK: i32 = 0;
1840-
/// # extern "C" {
1840+
/// # unsafe extern "C" {
18411841
/// # fn deflateGetDictionary(
18421842
/// # strm: *mut std::ffi::c_void,
18431843
/// # dictionary: *mut u8,

0 commit comments

Comments
 (0)