Cesar Rodas 1 jaar geleden
bovenliggende
commit
e87da6d85a
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      utxo/src/storage/cache/mod.rs
  2. 1 1
      utxo/src/storage/sqlite/mod.rs

+ 1 - 1
utxo/src/storage/cache/mod.rs

@@ -50,7 +50,7 @@ impl<S> Storage for Cache<S>
 where
     S: Storage + Sync + Send,
 {
-    type Batch<'a> = batch::CacheBatch<'a, S::Batch<'a> >
+    type Batch<'a> = batch::CacheBatch<'a, S::Batch<'a>>
     where
         Self: 'a;
 

+ 1 - 1
utxo/src/storage/sqlite/mod.rs

@@ -242,7 +242,7 @@ impl SQLite {
 impl Storage for SQLite {
     type Batch<'a> = Batch<'a>
     where
-    Self: 'a;
+        Self: 'a;
 
     async fn begin<'a>(&'a self) -> Result<Self::Batch<'a>, Error> {
         self.db