From f06694f79a39edc750f357e1e68b1d33f2e44e91 Mon Sep 17 00:00:00 2001 From: Pieter-Louis Schoeman Date: Tue, 5 May 2026 15:24:23 +0200 Subject: [PATCH] Avoid direct Drop::drop method link --- src/destructors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/destructors.md b/src/destructors.md index aa27842622..ec051071ec 100644 --- a/src/destructors.md +++ b/src/destructors.md @@ -7,7 +7,7 @@ When an [initialized] [variable] or [temporary] goes out of [scope](#drop-sc r[destructors.operation] The destructor of a type `T` consists of: -1. If `T: Drop`, calling [`::drop`](core::ops::Drop::drop) +1. If `T:` [`Drop`](core::ops::Drop), calling `::drop` 2. Recursively running the destructor of all of its fields. * The fields of a [struct] are dropped in declaration order. * The fields of the active [enum variant] are dropped in declaration order.