From 6f256feed6ad021039a1ad3a99e934fbfaf6fe6e Mon Sep 17 00:00:00 2001 From: "Andrew J. Stone" Date: Wed, 5 Jun 2024 17:32:38 +0000 Subject: [PATCH] clippy --- nexus/src/app/instance.rs | 1 + nexus/src/saga_interface.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/nexus/src/app/instance.rs b/nexus/src/app/instance.rs index fd7a9c48392..046dd2d2d5e 100644 --- a/nexus/src/app/instance.rs +++ b/nexus/src/app/instance.rs @@ -213,6 +213,7 @@ pub struct Instance { } impl Instance { + #[allow(clippy::too_many_arguments)] pub fn new( log: Logger, datastore: Arc, diff --git a/nexus/src/saga_interface.rs b/nexus/src/saga_interface.rs index 6e24d9cddd1..f87dd9536c5 100644 --- a/nexus/src/saga_interface.rs +++ b/nexus/src/saga_interface.rs @@ -41,6 +41,7 @@ impl fmt::Debug for SagaContext { } impl SagaContext { + #[allow(clippy::too_many_arguments)] pub(crate) fn new( log: Logger, datastore: Arc,