Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nine_k
· 8y ago · 0 comments
I think the typical way to move from one lifetime to another, especially for a borrowed object, is copying?
Comments
[–]
idubrov
8y ago
Cloning is not always possible (performance reasons, non-cloneable data, etc) and would not necessarily remove lifetime (for example, it could be a struct, defined somewhere else, with a lifetime parameter).