cleanup: fix formatting regression

This commit is contained in:
Martin von Zweigbergk 2021-11-14 12:46:31 -08:00
parent ae3ff4e1be
commit 30845c1f3b

View file

@ -162,10 +162,7 @@ pub fn materialize_conflict(
.iter() .iter()
.map(|part| get_file_contents(store, path, part)) .map(|part| get_file_contents(store, path, part))
.collect_vec(); .collect_vec();
let removed_slices = removed_content let removed_slices = removed_content.iter().map(Vec::as_slice).collect_vec();
.iter()
.map(Vec::as_slice)
.collect_vec();
let added_slices = added_content.iter().map(Vec::as_slice).collect_vec(); let added_slices = added_content.iter().map(Vec::as_slice).collect_vec();
let merge_result = files::merge(&removed_slices, &added_slices); let merge_result = files::merge(&removed_slices, &added_slices);