Cleanup functions in Rust should get step captures
See #136 (closed) for context. The Python template is getting this (!127 (merged)), and the Rust template should, too.
See #136 (closed) for context. The Python template is getting this (!127 (merged)), and the Rust template should, too.