Rollup merge of #23532 - steveklabnik:gh22002, r=alexcrichton
Fixes #22002
This commit is contained in:
commit
0711006694
1 changed files with 2 additions and 0 deletions
|
@ -170,6 +170,8 @@ Foreign libraries often hand off ownership of resources to the calling code.
|
|||
When this occurs, we must use Rust's destructors to provide safety and guarantee
|
||||
the release of these resources (especially in the case of panic).
|
||||
|
||||
For more about destructors, see the [Drop trait](../std/ops/trait.Drop.html).
|
||||
|
||||
# Callbacks from C code to Rust functions
|
||||
|
||||
Some external libraries require the usage of callbacks to report back their
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue