From 987bbfa922b5fb58314b9e93d96e60c560617d2c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 1 Aug 2018 15:14:49 -0700 Subject: [PATCH] Fix rustfmt errors. --- cranelift/tests/moduletests.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cranelift/tests/moduletests.rs b/cranelift/tests/moduletests.rs index d829aa8e9e..89a04e2cd5 100644 --- a/cranelift/tests/moduletests.rs +++ b/cranelift/tests/moduletests.rs @@ -2,8 +2,8 @@ extern crate cranelift_codegen; extern crate cranelift_module; extern crate cranelift_simplejit; -use cranelift_codegen::settings::*; use cranelift_codegen::ir::*; +use cranelift_codegen::settings::*; use cranelift_module::*; use cranelift_simplejit::*; @@ -16,7 +16,12 @@ fn error_on_incompatible_sig_in_declare_function() { call_conv: CallConv::SystemV, argument_bytes: None, }; - module.declare_function("abc", Linkage::Local, &sig).unwrap(); + module + .declare_function("abc", Linkage::Local, &sig) + .unwrap(); sig.params[0] = AbiParam::new(types::I32); - module.declare_function("abc", Linkage::Local, &sig).err().unwrap(); // Make sure this is an error + module + .declare_function("abc", Linkage::Local, &sig) + .err() + .unwrap(); // Make sure this is an error }