Skip to content

Commit 1c9efc9

Browse files
committed
disambiguate sentence
The original sentence could mean that "its destructor is run" and "it is dropped" are two separate possibilities, rather than two names for the same action.
1 parent 4e932f6 commit 1c9efc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/destructors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Destructors
22

33
When an [initialized] [variable] or [temporary] goes out of
4-
[scope](#drop-scopes) its *destructor* is run, or it is *dropped*. [Assignment]
4+
[scope](#drop-scopes), its *destructor* is run (also phrased as: "it is *dropped*"). [Assignment]
55
also runs the destructor of its left-hand operand, if it's initialized. If a
66
variable has been partially initialized, only its initialized fields are
77
dropped.

0 commit comments

Comments
 (0)