Skip to content

Commit 140bed4

Browse files
committed
Make UnabortableTransactionError Copy
1 parent 058a8ad commit 140bed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub struct TransactionalTree {
9999

100100
/// An error type that is returned from the closure
101101
/// passed to the `transaction` method.
102-
#[derive(Debug, Clone, PartialEq)]
102+
#[derive(Debug, Clone, Copy, PartialEq)]
103103
pub enum UnabortableTransactionError {
104104
/// An internal conflict has occurred and the `transaction` method will
105105
/// retry the passed-in closure until it succeeds. This should never be

0 commit comments

Comments
 (0)