Tidy up unneeded '&'s.

This commit is contained in:
Dan Gohman
2019-01-03 11:31:36 -08:00
parent c66a3c23f3
commit 529de7ca60
6 changed files with 9 additions and 9 deletions

View File

@@ -168,7 +168,7 @@ fn handle_module(
// If a function to invoke was given, invoke it.
if let Some(ref f) = args.flag_invoke {
match namespace
.invoke(compiler, index, &f, &[])
.invoke(compiler, index, f, &[])
.map_err(|e| e.to_string())?
{
ActionOutcome::Returned { .. } => {}