From c6b70ce99f12fccbdef5dddc22895f8e0cefda1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Mon, 7 Aug 2023 13:10:52 +0100 Subject: [PATCH] fix: clippy --- src/state.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index d5a511d1..b4f41e19 100644 --- a/src/state.rs +++ b/src/state.rs @@ -383,6 +383,7 @@ pub struct BeesCore { } impl BeesCore { + #[allow(clippy::too_many_arguments)] pub fn new( model: String, pc: u16, @@ -417,7 +418,7 @@ impl BeesCore { sp, ime, ie, - execution_mode: execution_mode, + execution_mode, _padding: 0, io_registers, ram: BeesBuffer::default(), -- GitLab