Skip to content

Commit 7ef4cd9

Browse files
ehussgitbot
authored and
gitbot
committed
alloc: Apply missing_unsafe_on_extern
1 parent 5cb0cba commit 7ef4cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/vec/mod.rs

+1-1
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)