diff --git a/snix/castore/src/directoryservice/redb.rs b/snix/castore/src/directoryservice/redb.rs index c59c2c5e1..81b70a81d 100644 --- a/snix/castore/src/directoryservice/redb.rs +++ b/snix/castore/src/directoryservice/redb.rs @@ -66,6 +66,7 @@ impl RedbDirectoryService { /// Ensures all tables are present. /// Opens a write transaction and calls open_table on DIRECTORY_TABLE, which will /// create it if not present. +#[allow(clippy::result_large_err)] fn create_schema(db: &redb::Database) -> Result<(), redb::Error> { let txn = db.begin_write()?; txn.open_table(DIRECTORY_TABLE)?; diff --git a/snix/store/src/pathinfoservice/redb.rs b/snix/store/src/pathinfoservice/redb.rs index a500bdc94..69d0a15ea 100644 --- a/snix/store/src/pathinfoservice/redb.rs +++ b/snix/store/src/pathinfoservice/redb.rs @@ -65,6 +65,7 @@ impl RedbPathInfoService { /// Ensures all tables are present. /// Opens a write transaction and calls open_table on PATHINFO_TABLE, which will /// create it if not present. +#[allow(clippy::result_large_err)] fn create_schema(db: &redb::Database) -> Result<(), redb::Error> { let txn = db.begin_write()?; txn.open_table(PATHINFO_TABLE)?;