File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ A `const` item's destructor _will_ run at each point where the `const` item is u
64
64
65
65
- Runtime initialisation of a raw pointer can be used instead (as the ` lazy_static ` crate currently does on stable)
66
66
- 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.
68
68
- 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.
70
70
71
71
# Unresolved questions
72
72
[ unresolved ] : #unresolved-questions
You can’t perform that action at this time.
0 commit comments