mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 04:11:07 +00:00
post rustfmt whitespace fixup (#9436)
Taking best bits of rustfmt's format_strings Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
This commit is contained in:
@@ -284,8 +284,8 @@ impl<Block: BlockT> DbChangesTrieStorage<Block> {
|
||||
pub fn post_commit(&self, tx: Option<DbChangesTrieStorageTransaction<Block>>) {
|
||||
if let Some(tx) = tx {
|
||||
self.cache.0.write().commit(tx.cache_ops).expect(
|
||||
"only fails if cache with given name isn't loaded yet;\
|
||||
cache is already loaded because there is tx; qed",
|
||||
"only fails if cache with given name isn't loaded yet; cache is already loaded \
|
||||
because there is tx; qed",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -518,8 +518,8 @@ where
|
||||
|
||||
self.db.commit(transaction)?;
|
||||
cache.commit(cache_ops).expect(
|
||||
"only fails if cache with given name isn't loaded yet;\
|
||||
cache is already loaded because there are cache_ops; qed",
|
||||
"only fails if cache with given name isn't loaded yet; cache is already loaded \
|
||||
because there are cache_ops; qed",
|
||||
);
|
||||
}
|
||||
|
||||
@@ -569,8 +569,8 @@ where
|
||||
|
||||
self.db.commit(transaction)?;
|
||||
cache.commit(cache_ops).expect(
|
||||
"only fails if cache with given name isn't loaded yet;\
|
||||
cache is already loaded because there are cache_ops; qed",
|
||||
"only fails if cache with given name isn't loaded yet; cache is already loaded \
|
||||
because there are cache_ops; qed",
|
||||
);
|
||||
}
|
||||
self.update_meta(hash, header.number().clone(), false, true);
|
||||
|
||||
Reference in New Issue
Block a user