Hacker News new | ask | show | jobs
by Evan-Almloff 816 days ago
All data you insert into a generational box needs to be allowed to last for the 'static lifetime (have no internal temporary pointers). You cannot insert something like &'a str into a generational box