rhg: fix formatting error reported by test-check-format-rust.t
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 14 Oct 2021 22:35:46 -0700
changeset 48246 1837663ac216
parent 48245 c820866c52f9
child 48247 5c567aca080d
rhg: fix formatting error reported by test-check-format-rust.t Differential Revision: https://phab.mercurial-scm.org/D11670
rust/hg-core/src/operations/cat.rs
--- a/rust/hg-core/src/operations/cat.rs	Tue Oct 12 13:54:06 2021 -0700
+++ b/rust/hg-core/src/operations/cat.rs	Thu Oct 14 22:35:46 2021 -0700
@@ -104,10 +104,8 @@
         bytes.extend(file_log.data_for_node(file_node)?.data()?);
     }
 
-    let missing: Vec<HgPathBuf> = missing
-        .iter()
-        .map(|file| (*file).to_owned())
-        .collect();
+    let missing: Vec<HgPathBuf> =
+        missing.iter().map(|file| (*file).to_owned()).collect();
     Ok(CatOutput {
         found_any,
         concatenated: bytes,