Skip to content

Commit 47374aa

Browse files
committed
fmt
1 parent 72cd05b commit 47374aa

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

grovedb/src/replication.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,7 @@ impl GroveDb {
236236
));
237237
}
238238

239-
println!(
240-
" starting:{:?}...",
241-
utils::path_to_string(&[])
242-
);
239+
println!(" starting:{:?}...", utils::path_to_string(&[]));
243240

244241
let root_prefix = [0u8; 32];
245242

grovedb/src/replication/state_sync_session.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use grovedb_storage::{
1717
use grovedb_version::version::GroveVersion;
1818

1919
use super::{
20-
utils::{encode_global_chunk_id, path_to_string, decode_vec_ops},
20+
utils::{decode_vec_ops, encode_global_chunk_id, path_to_string},
2121
CURRENT_STATE_SYNC_VERSION,
2222
};
2323
use crate::{replication, Element, Error, GroveDb, Transaction};
@@ -312,10 +312,7 @@ impl<'db> MultiStateSyncSession<'db> {
312312
let mut next_chunk_ids = vec![];
313313

314314
let (chunk_prefix, _, _, chunk_id) =
315-
replication::utils::decode_global_chunk_id(
316-
global_chunk_id,
317-
&self.app_hash,
318-
)?;
315+
replication::utils::decode_global_chunk_id(global_chunk_id, &self.app_hash)?;
319316

320317
if self.is_empty() {
321318
return Err(Error::InternalError(

0 commit comments

Comments
 (0)