Fixed all unnecessary muts in language core
This commit is contained in:
parent
35b9bd0559
commit
400075d9d9
32 changed files with 41 additions and 41 deletions
|
@ -187,7 +187,7 @@ mod impls {
|
|||
where F : FnMut<A>
|
||||
{
|
||||
type Output = F::Output;
|
||||
extern "rust-call" fn call_once(mut self, args: A) -> F::Output {
|
||||
extern "rust-call" fn call_once(self, args: A) -> F::Output {
|
||||
(*self).call_mut(args)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue