crossbeam icon indicating copy to clipboard operation
crossbeam copied to clipboard

scope 'env lifetime

Open andrewpedia opened this issue 2 years ago • 1 comments

is the scope's 'env lifetime bound with closure's lifetime?

andrewpedia avatar May 01 '22 04:05 andrewpedia

In my opinion, 'env lifetime means that scope needs a lifetime which equal or longer than 'env; and the closure's lifetime is just equal to 'env; So, it looks like "scope's 'env lifetime bound with closure's lifetime".

zhangzhuang15 avatar Apr 26 '23 09:04 zhangzhuang15