Skip to content

Commit 44bac0e

Browse files
kkliboehuss
authored andcommitted
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 e4833e4 commit 44bac0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/destructors.md

+1-1
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)