From 484e01badac23e444e29d02579f50f7d87f59f81 Mon Sep 17 00:00:00 2001 From: Mike Seddon Date: Fri, 19 Jul 2024 08:02:55 +1000 Subject: [PATCH] cargofmt --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3f5c862..f1d830a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -377,7 +377,7 @@ impl DatabaseName<'_> { pub struct Connection { db: RefCell, cache: StatementCache, - transaction_behavior: TransactionBehavior + transaction_behavior: TransactionBehavior, } unsafe impl Send for Connection {} @@ -474,7 +474,7 @@ impl Connection { InnerConnection::open_with_flags(&c_path, flags, None).map(|db| Connection { db: RefCell::new(db), cache: StatementCache::with_capacity(STATEMENT_CACHE_DEFAULT_CAPACITY), - transaction_behavior: TransactionBehavior::Deferred + transaction_behavior: TransactionBehavior::Deferred, }) } @@ -499,7 +499,7 @@ impl Connection { InnerConnection::open_with_flags(&c_path, flags, Some(&c_vfs)).map(|db| Connection { db: RefCell::new(db), cache: StatementCache::with_capacity(STATEMENT_CACHE_DEFAULT_CAPACITY), - transaction_behavior: TransactionBehavior::Deferred + transaction_behavior: TransactionBehavior::Deferred, }) } @@ -952,7 +952,7 @@ impl Connection { Ok(Connection { db: RefCell::new(db), cache: StatementCache::with_capacity(STATEMENT_CACHE_DEFAULT_CAPACITY), - transaction_behavior: TransactionBehavior::Deferred + transaction_behavior: TransactionBehavior::Deferred, }) } @@ -1001,7 +1001,7 @@ impl Connection { Ok(Connection { db: RefCell::new(db), cache: StatementCache::with_capacity(STATEMENT_CACHE_DEFAULT_CAPACITY), - transaction_behavior: TransactionBehavior::Deferred + transaction_behavior: TransactionBehavior::Deferred, }) }