diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-08-10 14:05:58 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-08-10 14:05:58 -0700 |
| commit | b8aa595e6d159bfb5e0293659b69e0edc457a468 (patch) | |
| tree | 01c3c1ef7415103c4d48a28cf57be47cba5cc624 /src/libcore/ops | |
| parent | be95ca4b17203a3aed27c17c1e93b76c9477e5bc (diff) | |
| parent | b6179602bea71607a9ea63197eca423fcce5f7b0 (diff) | |
Merge remote-tracking branch 'origin/master' into gen
Diffstat (limited to 'src/libcore/ops')
| -rw-r--r-- | src/libcore/ops/function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/function.rs b/src/libcore/ops/function.rs index 62bf69336a3..c5b3fbca1a6 100644 --- a/src/libcore/ops/function.rs +++ b/src/libcore/ops/function.rs @@ -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) } } |
