We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1536d89 + 76cd60a commit 3882474Copy full SHA for 3882474
src/destructors.md
@@ -524,6 +524,11 @@ let x = &temp() as &dyn Send; // Operand of cast.
524
# x;
525
let x = (&*&temp(),); // Operand of tuple constructor.
526
527
+struct W<T>(T);
528
+let x = W(&temp()); // Argument to tuple struct constructor.
529
+# x;
530
+let x = Some(&temp()); // Argument to tuple enum variant constructor.
531
532
let x = { [Some(&temp())] }; // Final expr of block.
533
534
let x = const { &temp() }; // Final expr of `const` block.
0 commit comments