mirror of https://github.com/rust-lang/rfcs
Merge pull request #3356 from Jeroendevr/patch-1
Update link to blog post
This commit is contained in:
commit
c85eef1c34
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue