Commit 13e9076
committed
Clarify that "or it is dropped" is meant restrictively
The introduction of the *Destructors* chapter says:
> When an initialized variable or temporary goes out of scope,
> its *destructor* is run, or it is *dropped*.
Grammatically, the final comma there suggests that the clause "or it
is dropped" is non-restrictive -- i.e., that it could be removed from
the sentence without changing its meaning. It's as though we had
written:
> When an initialized variable or temporary goes out of scope,
> its *destructor* is run, or in other words, it is *dropped*.
That's not what we mean here currently, as discussed in [#1078], so
the comma is incorrectly placed.
Note that this isn't necessarily the final step in clarifying this.
There's more we should probably do. But it is a step in the right
direction, so let's take it.
[#1078]: #10781 parent 1536d89 commit 13e9076
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments