changeset 48234:1837663ac216

rhg: fix formatting error reported by test-check-format-rust.t Differential Revision: https://phab.mercurial-scm.org/D11670
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 14 Oct 2021 22:35:46 -0700
parents c820866c52f9
children 5c567aca080d
files rust/hg-core/src/operations/cat.rs
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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,