I use this pattern a lot, to keep things immutable but still have a default value assigned to a variable that must exist later, and make it explicit what's being done.
Is there a more Rusty way to do this and still keep things clear/readable?
I use this pattern a lot, to keep things immutable but still have a default value assigned to a variable that must exist later, and make it explicit what's being done.
Is there a more Rusty way to do this and still keep things clear/readable?