miniblog.
← Back to all posts
Wilfred Hughes
Feb 25, 2021 at 20:18
I'm rewriting a Rust function transform function from `&mut Foo` to `Foo -> Foo`. It might be a little slower, but ownership makes it harder to miss parts of the Foo type when I work with values.