Why doesn't this closure outlive var?

Subscribers:
4,130
Published on ● Video Link: https://www.youtube.com/watch?v=5YWnujtQHHE



Duration: 2:51
0 views
0


Why doesn't this closure outlive var?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/9948469/shorez)shorez |
(stackoverflow.com/users/8012646/%e3%83%ad%e3%83%bc%e3%82%a6)ローウ |
(stackoverflow.com/users/15602349/at54321)at54321 |
A special thanks goes out to the (https://stackoverflow.com/questions/75151309/why-doesnt-this-closure-outlive-var)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

lifetime rust







Tags:
lifetime
rust