Skip to content

Commit

Permalink
alloc: Apply missing_unsafe_on_extern
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored and gitbot committed Feb 22, 2025
1 parent 2ce50f9 commit e4d84b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alloc/src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ impl<T, A: Allocator> Vec<T, A> {
/// # // don't use this as a starting point for a real library.
/// # pub struct StreamWrapper { strm: *mut std::ffi::c_void }
/// # const Z_OK: i32 = 0;
/// # extern "C" {
/// # unsafe extern "C" {
/// # fn deflateGetDictionary(
/// # strm: *mut std::ffi::c_void,
/// # dictionary: *mut u8,
Expand Down

0 comments on commit e4d84b8

Please sign in to comment.