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.