Skip to content

Commit 8acf410

Browse files
committed
Fixing link to Drop trait and catch_unwind; closes rust-lang/rust#42064
1 parent d0f2868 commit 8acf410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ffi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Foreign libraries often hand off ownership of resources to the calling code.
240240
When this occurs, we must use Rust's destructors to provide safety and guarantee
241241
the release of these resources (especially in the case of panic).
242242

243-
For more about destructors, see the [Drop trait](../../std/ops/trait.Drop.html).
243+
For more about destructors, see the [Drop trait](../std/ops/trait.Drop.html).
244244

245245
# Callbacks from C code to Rust functions
246246

@@ -700,7 +700,7 @@ Please note that [`catch_unwind`] will only catch unwinding panics, not
700700
those who abort the process. See the documentation of [`catch_unwind`]
701701
for more information.
702702

703-
[`catch_unwind`]: ../../std/panic/fn.catch_unwind.html
703+
[`catch_unwind`]: ../std/panic/fn.catch_unwind.html
704704

705705
# Representing opaque structs
706706

0 commit comments

Comments
 (0)