According to the 
[destructors](https://nim-lang.org/docs/destructors.html#sink-parameters) 
document , you don't have to use move since each object field may be sinked 
separately. The compiler also infers when it is safe to sink, look at section 
Rewrite rules.

You can watch [Nim move semantics](https://www.youtube.com/watch?v=yA32Wxl59wo) 
talk [slides](https://github.com/Araq/fosdem2020) There is also a [blog 
post](https://nim-lang.org/araq/destructors.html) by Araq but it may be 
outdated.

Reply via email to