From 8769febdbd2185d92b5d4d83c7385bfb0f9f2313 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 22 Jan 2019 04:17:52 -0800 Subject: [PATCH] Formest with latest stable rustfmt. --- lib/jit/src/action.rs | 14 +++++++------- lib/jit/src/link.rs | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/jit/src/action.rs b/lib/jit/src/action.rs index 84a358a69e..eace168443 100644 --- a/lib/jit/src/action.rs +++ b/lib/jit/src/action.rs @@ -142,13 +142,13 @@ pub fn invoke( return Err(ActionError::Kind(format!( "exported item \"{}\" is not a function", function_name - ))) + ))); } None => { return Err(ActionError::Field(format!( "no export named \"{}\"", function_name - ))) + ))); } }; @@ -232,13 +232,13 @@ pub fn inspect_memory<'instance>( return Err(ActionError::Kind(format!( "exported item \"{}\" is not a linear memory", memory_name - ))) + ))); } None => { return Err(ActionError::Field(format!( "no export named \"{}\"", memory_name - ))) + ))); } }; @@ -256,13 +256,13 @@ pub fn get(instance: &Instance, global_name: &str) -> Result { return Err(ActionError::Field(format!( "no export named \"{}\"", global_name - ))) + ))); } }; @@ -277,7 +277,7 @@ pub fn get(instance: &Instance, global_name: &str) -> Result