Skip to content

Commit

Permalink
Merge pull request fedimint#4008 from m1sterc001guy/fix_typos
Browse files Browse the repository at this point in the history
chore: fix some typos in the database structs
  • Loading branch information
okjodom authored Jan 4, 2024
2 parents 2609c5c + eb56b03 commit 0fbf652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fedimint-core/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<Tx> {
// TODO: merge options
Expand Down Expand Up @@ -1297,7 +1297,7 @@ fn decode_value<V: DatabaseValue>(
}

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,
Expand Down

0 comments on commit 0fbf652

Please sign in to comment.