« first day (2967 days earlier)      last day (515 days later) » 

2:06 AM
hy
 
 
6 hours later…
7:56 AM
@TonyHart Hi Tony.
 
 
7 hours later…
3:02 PM
hi guys!
currently it's closed as duplicate of a very general question about self-referential types.
it's tehcnically correct, but the other answer would give a much better answer to the question for someone who finds it via google.
 
3:37 PM
I do agree your answer is more useful indeed; though perhaps I would switch the order of the code in your answer to put ourobouros first -- no unsafe -- and only mention later how to make it with unsafe.
 
@MatthieuM. Acknowledged, but I think I'll keep the order, as I'd first like to explain what's going on and how the concept works. I'm a bit wary towards self-referential crates...
I think I can immediately reopen the first question, but I'm not sure if I'll be able to close it again with the new dup target.
(the duphammer might not be working after using it to reopen the question.)
is someone willing to vote for it to be marked as dup of the other question (with the concrete answer)?
 
 
1 hour later…
5:07 PM
@user4815162342: Reopened, feel free to close :)
 
 
3 hours later…
8:04 PM
@MatthieuM. Done, thanks!
 

« first day (2967 days earlier)      last day (515 days later) »