Skip to content

Commit 0dbf16e

Browse files
authored
Fix a listing
1 parent f1e535f commit 0dbf16e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/1440-drop-types-in-const.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ A `const` item's destructor _will_ run at each point where the `const` item is u
6464

6565
- Runtime initialisation of a raw pointer can be used instead (as the `lazy_static` crate currently does on stable)
6666
- On nightly, a bug related to `static` and `UnsafeCell<Option<T>>` can be used to remove the dynamic allocation.
67-
- Both of these alternatives require runtime initialisation, and incur a checking overhead on subsequent accesses.
67+
- Both of these alternatives require runtime initialisation, and incur a checking overhead on subsequent accesses.
6868
- Leaking of objects could be addressed by using C++-style `.dtors` support
69-
- This is undesirable, as it introduces confusion around destructor execution order.
69+
- This is undesirable, as it introduces confusion around destructor execution order.
7070

7171
# Unresolved questions
7272
[unresolved]: #unresolved-questions

0 commit comments

Comments
 (0)