From 5e721aa547e17aafa60437bd0a45d2e867040aac Mon Sep 17 00:00:00 2001 From: adz Date: Mon, 15 May 2023 11:41:22 +0200 Subject: [PATCH] Make clippy happy --- aquadoggo/src/replication/strategies.rs | 2 +- aquadoggo/src/replication/traits.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aquadoggo/src/replication/strategies.rs b/aquadoggo/src/replication/strategies.rs index 8e0050bf6..bafbf12fa 100644 --- a/aquadoggo/src/replication/strategies.rs +++ b/aquadoggo/src/replication/strategies.rs @@ -89,7 +89,7 @@ impl Strategy for SetReconciliationStrategy { todo!() } - async fn handle_message(&self, message: StrategyMessage) -> Result { + async fn handle_message(&self, _message: StrategyMessage) -> Result { todo!() } } diff --git a/aquadoggo/src/replication/traits.rs b/aquadoggo/src/replication/traits.rs index 23936e0ea..323bb2931 100644 --- a/aquadoggo/src/replication/traits.rs +++ b/aquadoggo/src/replication/traits.rs @@ -29,9 +29,9 @@ pub trait Strategy: std::fmt::Debug + StrategyClone { // @TODO: we want to pass the store in here too eventually. async fn handle_entry( &self, - schema_id: &SchemaId, - entry_bytes: Vec, - operation_bytes: Vec, + _schema_id: &SchemaId, + _entry_bytes: Vec, + _operation_bytes: Vec, ) -> Result<()> { // Validation: // Check against schema_id and target_set if entry is what we've asked for