From 42c1fb855ccff9c9402976a3e78b2474e63b3794 Mon Sep 17 00:00:00 2001 From: Sishan Long Date: Tue, 10 Dec 2024 23:24:30 +0800 Subject: [PATCH] lint --- crates/shared/src/persistence/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/shared/src/persistence/mod.rs b/crates/shared/src/persistence/mod.rs index d052053..000a7df 100644 --- a/crates/shared/src/persistence/mod.rs +++ b/crates/shared/src/persistence/mod.rs @@ -8,11 +8,11 @@ pub mod sqlite; /// The trait BuilderPersistence defined needed functions to maintain persistence of builder-related data #[async_trait] pub trait BuilderPersistence { - /// Append a transaction in Vec to persistence mempool + /// Append a transaction to persistence mempool async fn append(&self, tx_data: Vec) -> Result<(), sqlx::Error>; /// Load all the transactions whose `created_at` is before or equal to `before_instant` async fn load(&self, before_instant: Instant) -> Result>, sqlx::Error>; - /// Remove a transaction in Vec from the persistence mempool + /// Remove a transaction from the persistence mempool async fn remove(&self, tx: Vec) -> Result<(), sqlx::Error>; }