From 0543cb345320a15280a5af7db941bb9fbffb4cd6 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jun 2022 17:50:10 +0200 Subject: Cleaner error management (less error-prone api) --- src/table/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/table') diff --git a/src/table/schema.rs b/src/table/schema.rs index 393c7388..74f57798 100644 --- a/src/table/schema.rs +++ b/src/table/schema.rs @@ -93,7 +93,7 @@ pub trait TableSchema: Send + Sync { _tx: &mut db::Transaction, _old: Option<&Self::E>, _new: Option<&Self::E>, - ) -> db::Result<()> { + ) -> db::TxOpResult<()> { Ok(()) } -- cgit v1.2.3