aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-07 17:56:29 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-07 17:56:29 +0200
commitdaec7995c33e9d8213dec1f6256855737a83fd0c (patch)
treeaebad2a1350bd1de6eb481d712d3db32161f6a34 /src
parentc103ca8bf2f7c8168f4224ae610aed7d82c19618 (diff)
downloadgarage-daec7995c33e9d8213dec1f6256855737a83fd0c.tar.gz
garage-daec7995c33e9d8213dec1f6256855737a83fd0c.zip
cargo fmt
Diffstat (limited to 'src')
-rw-r--r--src/db/lmdb_adapter.rs2
-rw-r--r--src/db/sled_adapter.rs2
-rw-r--r--src/db/sqlite_adapter.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/db/lmdb_adapter.rs b/src/db/lmdb_adapter.rs
index 50885dad..b82add75 100644
--- a/src/db/lmdb_adapter.rs
+++ b/src/db/lmdb_adapter.rs
@@ -10,7 +10,7 @@ use heed::{BytesDecode, Env, RoTxn, RwTxn, UntypedDatabase as Database};
use crate::{
Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxOpError, TxOpResult, TxResult,
- Value, ValueIter, TxValueIter
+ TxValueIter, Value, ValueIter,
};
pub use heed;
diff --git a/src/db/sled_adapter.rs b/src/db/sled_adapter.rs
index bcda32a6..fb9353f0 100644
--- a/src/db/sled_adapter.rs
+++ b/src/db/sled_adapter.rs
@@ -11,7 +11,7 @@ use sled::transaction::{
use crate::{
Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxOpError, TxOpResult, TxResult,
- Value, ValueIter, TxValueIter
+ TxValueIter, Value, ValueIter,
};
pub use sled;
diff --git a/src/db/sqlite_adapter.rs b/src/db/sqlite_adapter.rs
index 402ff7a4..251dcafb 100644
--- a/src/db/sqlite_adapter.rs
+++ b/src/db/sqlite_adapter.rs
@@ -12,7 +12,7 @@ use rusqlite::{params, Connection, Rows, Statement, Transaction};
use crate::{
Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxOpError, TxOpResult, TxResult,
- Value, ValueIter, TxValueIter
+ TxValueIter, Value, ValueIter,
};
pub use rusqlite;