Document how ptr::drop_in_place behaves when dropping a slice panics #64407
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
A-FFI
Area: Foreign function interface (FFI)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
When dropping a slice
[T]
usingptr::drop_in_place
, aT::drop
can panic. I can't find any documentation of what the behavior of the program is in that case.The text was updated successfully, but these errors were encountered: