Fixing link to Drop trait and catch_unwind; closes rust-lang/rust#42064

pull/21/head
projektir 8 years ago
parent d0f2868141
commit 8acf410db2

@ -240,7 +240,7 @@ 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 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). the release of these resources (especially in the case of panic).
For more about destructors, see the [Drop trait](../../std/ops/trait.Drop.html). For more about destructors, see the [Drop trait](../std/ops/trait.Drop.html).
# Callbacks from C code to Rust functions # Callbacks from C code to Rust functions
@ -700,7 +700,7 @@ Please note that [`catch_unwind`] will only catch unwinding panics, not
those who abort the process. See the documentation of [`catch_unwind`] those who abort the process. See the documentation of [`catch_unwind`]
for more information. for more information.
[`catch_unwind`]: ../../std/panic/fn.catch_unwind.html [`catch_unwind`]: ../std/panic/fn.catch_unwind.html
# Representing opaque structs # Representing opaque structs

Loading…
Cancel
Save