diff --git a/src/destructors.md b/src/destructors.md index d89c069c8..37016223e 100644 --- a/src/destructors.md +++ b/src/destructors.md @@ -524,6 +524,11 @@ let x = &temp() as &dyn Send; // Operand of cast. # x; let x = (&*&temp(),); // Operand of tuple constructor. # x; +struct W(T); +let x = W(&temp()); // Argument to tuple struct constructor. +# x; +let x = Some(&temp()); // Argument to tuple enum variant constructor. +# x; let x = { [Some(&temp())] }; // Final expr of block. # x; let x = const { &temp() }; // Final expr of `const` block.