Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
scottlamb
· 3y ago · 0 comments
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.
Comments
[–]
hjl22
3y ago
Thanks for the explanation. I understand it now.