Skip to content

Commit

Permalink
chore: fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds committed Mar 22, 2024
1 parent ac7ffeb commit 4440ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/curp-external-api/src/conflict.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ pub trait ConflictPoolOp {
fn is_empty(&self) -> bool;
}

/// Insert into speculative pool
/// Speculative pool operations
pub trait SpeculativePoolOp: ConflictPoolOp {
/// Inserts a command in to the pool
///
/// Returns the entry if a conflict is detected
fn insert_if_not_conflict(&mut self, entry: Self::Entry) -> Option<Self::Entry>;
}

/// Insert into uncommitted pool
/// UncommittedPool operations
pub trait UncommittedPoolOp: ConflictPoolOp {
/// Inserts a command in to the pool
///
Expand Down

0 comments on commit 4440ed7

Please sign in to comment.