From eb56b035b1b2ad31a28ca64bea6c8f417d526298 Mon Sep 17 00:00:00 2001 From: Justin Moeller Date: Wed, 3 Jan 2024 20:52:57 -0600 Subject: [PATCH] chore: fix some typos in the database structs --- fedimint-core/src/db/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fedimint-core/src/db/mod.rs b/fedimint-core/src/db/mod.rs index 252d2711b0c..9bbf43faef8 100644 --- a/fedimint-core/src/db/mod.rs +++ b/fedimint-core/src/db/mod.rs @@ -768,7 +768,7 @@ where /// [`IDatabaseTransactionOpsCore`] /// /// In certain contexts exposing these operations would be a problem, so they -/// arem oved to a separate trait. +/// are moved to a separate trait. #[apply(async_trait_maybe_send!)] pub trait IDatabaseTransactionOps: IDatabaseTransactionOpsCore + MaybeSend { /// Create a savepoint during the transaction that can be rolled back to @@ -1073,7 +1073,7 @@ where } } -/// Struct that implements `ISingleUseDatabaseTransaction` and can be wrapped +/// Struct that implements `IRawDatabaseTransaction` and can be wrapped /// easier in other structs since it does not consumed `self` by move. struct BaseDatabaseTransaction { // TODO: merge options @@ -1297,7 +1297,7 @@ fn decode_value( } impl<'tx, Cap> DatabaseTransaction<'tx, Cap> { - /// Convert into a non-committeable version + /// Convert into a non-committable version pub fn into_nc(self) -> DatabaseTransaction<'tx, NonCommittable> { DatabaseTransaction { tx: self.tx,