update(s: &mut State) vs update(s: State) -> State

56 points awesomealchemy 32 comments

Which is more ideomatic rust?

Are there any special aspects to consider?