Replies: 1 comment 2 replies
|
|
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have declared an interface and an implementation
That works just fine, but I want the reassign the
dataparameter. IMHO, this only should have influence on this function scope, but withmutI'm getting the error
Why I'm getting this error? IMHO it only would make sense if defining a parameter as
mutwould have influence to the caller. Maybe I misunderstood the whole purpose of defining parameters asmut?All reactions