Skip to content

Commit c19baf7

Browse files
committed
Wording nits
1 parent 8ce4449 commit c19baf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/0000-manually-drop.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exposed the fact that the current, but unspecified behaviour is relied onto for
1717
that there’s at least a few instances of such code in the wild.
1818

1919
While a move to stabilise and document the order of destructor evaluation would technically fix the
20-
problem describe above, there’s another important aspect to consider here – implicitness. Consider
20+
problem described above, there’s another important aspect to consider here – implicitness. Consider
2121
such code:
2222

2323
```rust
@@ -47,7 +47,7 @@ annotate the dependencies somehow.
4747
[design]: #detailed-design
4848

4949
This RFC proposes adding following `union` to the `core::mem` (and by extension the `std::mem`)
50-
module. `mem` module is a most suitable place for such `struct`, as the module already a place for
50+
module. `mem` module is a most suitable place for such type, as the module already a place for
5151
functions very similar in purpose: `drop` and `forget`.
5252

5353
```rust
@@ -130,7 +130,7 @@ impl Drop for FruitBox {
130130
}
131131
```
132132

133-
It is proposed that such pattern would become idiomatic for structures where fields must be dropped
133+
It is proposed that this pattern would become idiomatic for structures where fields must be dropped
134134
in a particular order.
135135

136136
# How We Teach This

0 commit comments

Comments
 (0)