From 3892ea827dc4d420957e390a29830a8b42a27737 Mon Sep 17 00:00:00 2001 From: Syrus Date: Mon, 13 Jan 2020 12:04:39 +0100 Subject: [PATCH] Fixed lint --- lib/middleware-common-tests/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/middleware-common-tests/src/lib.rs b/lib/middleware-common-tests/src/lib.rs index 076a6a94c6b..20d69bb3d0a 100644 --- a/lib/middleware-common-tests/src/lib.rs +++ b/lib/middleware-common-tests/src/lib.rs @@ -147,11 +147,7 @@ mod tests { let add_to: Func<(i32, i32), i32> = instance.func("add_to").unwrap(); - let cv_pushed = if let Some(msm) = instance - .module - .runnable_module - .get_module_state_map() - { + let cv_pushed = if let Some(msm) = instance.module.runnable_module.get_module_state_map() { push_code_version(CodeVersion { baseline: true, msm: msm,