-
|
I'm no Rust expert, so bare with me if my assumption is wrong: I defined the parameter Here comes my limited Rust knowledge into the room: I assume that modifying |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Your understanding is correct, the rule is misfiring in this case. On params it should apply only to types where caller-side mutation is possible. Tracking at #369 |
Beta Was this translation helpful? Give feedback.
Your understanding is correct, the rule is misfiring in this case. On params it should apply only to types where caller-side mutation is possible. Tracking at #369