Skip to content

Commit

Permalink
disambiguate sentence
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kklibo committed Jun 3, 2021
1 parent 4e932f6 commit 1c9efc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/destructors.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Destructors

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

0 comments on commit 1c9efc9

Please sign in to comment.