Skip to content

Commit

Permalink
[thin_delta] Apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mingnus committed May 19, 2022
1 parent e3fc1f5 commit 69ff4d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/thin/delta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ impl NodeVisitor<BlockTime> for MappingRecorder {
// The `time` field is not extracted for CoW indication. The mapped data block
// does the job. i.e., the data block must be different if the mapping had been
// CoW'ed.
pub fn get_mappings(engine: Arc<dyn IoEngine + Send + Sync>, root: u64) -> Result<Vec<DataMapping>> {
pub fn get_mappings(
engine: Arc<dyn IoEngine + Send + Sync>,
root: u64,
) -> Result<Vec<DataMapping>> {
let mr = MappingRecorder::new();
let w = Arc::new(BTreeWalker::new(engine.clone(), false));
let mut path = Vec::new();
Expand Down

0 comments on commit 69ff4d4

Please sign in to comment.