Add safety comment to fix tidy
This commit is contained in:
parent
7cdd95e1a6
commit
2892302aef
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ async unsafe fn either<O: IntoFuture<Output = ()>, M: IntoFuture<Output = ()>, T
|
|||
#[cfg(not(bootstrap))]
|
||||
#[lang = "async_drop_deferred_drop_in_place"]
|
||||
async unsafe fn deferred_drop_in_place<T>(to_drop: *mut T) {
|
||||
// SAFETY: same safety requirements as with drop_in_place (implied by
|
||||
// function's name)
|
||||
unsafe { crate::ptr::drop_in_place(to_drop) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue