Skip to content

Commit 8efb980

Browse files
authored
Merge pull request #2035 from rust-lang/TC/make-dropped-clause-restrictive
Clarify that "or it is dropped" is meant restrictively
2 parents 3882474 + 13e9076 commit 8efb980

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
@@ -3,7 +3,7 @@ r[destructors]
33

44
r[destructors.intro]
55
When an [initialized] [variable] or [temporary] goes out of
6-
[scope](#drop-scopes), its *destructor* is run, or it is *dropped*. [Assignment]
6+
[scope](#drop-scopes), its *destructor* is run or it is *dropped*. [Assignment]
77
also runs the destructor of its left-hand operand, if it's initialized. If a
88
variable has been partially initialized, only its initialized fields are
99
dropped.

0 commit comments

Comments
 (0)