Actually something like this is even better since it doesn't involve copying off the stack; I'm not sure if rust optimizes that out though