Skip to content

Commit 5cdaba6

Browse files
authored
Use "needs drop" terminology
1 parent 25c5e71 commit 5cdaba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promotion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ compile-time instead of run-time should not alter program behavior.
9797

9898
### 4. Drop
9999

100-
Expressions containing types that implement `Drop` (or have a field implementing `Drop`)
100+
Expressions containing "needs drop" types
101101
can never be promoted. If such an expression were promoted, the `Drop` impl would
102102
never get called on the value, even though the user did not explicitly request such
103103
behavior by using an explicit `const` or `static` item.

0 commit comments

Comments
 (0)