Y
Hacker News
new
|
ask
|
show
|
jobs
by
scottlamb
993 days ago
It means spawned futures can't contain references that aren't 'static. But they can
own
memory. String for example is 'static. Likewise Vec<T>, Box<T>, Arc<T>, Rc<T>, etc. where T: 'static.
1 comments
hjl22
992 days ago
Thanks for the explanation. I understand it now.
link