Skip to content

Commit

Permalink
Merge pull request #3356 from Jeroendevr/patch-1
Browse files Browse the repository at this point in the history
Update link to blog post
  • Loading branch information
ehuss committed Dec 13, 2022
2 parents ea58235 + 3809d60 commit c85eef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/1857-stabilize-drop-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ in the future.

Closure captures are also dropped in unspecified order. At this moment, it seems
like the drop order is similar to the order in which the captures are consumed within
the closure (see [this blog post](https://aochagavia.github.io/blog/exploring-rusts-unspecified-drop-order/)
the closure (see [this blog post](https://ochagavia.nl/blog/exploring-rusts-unspecified-drop-order/)
for more details). Again, this order is closely tied to an implementation that
we may want to change in the future, and the benefits of stabilizing it seem small.
Furthermore, enforcing invariants through closure captures seems like a terrible footgun
Expand Down

0 comments on commit c85eef1

Please sign in to comment.