SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
    (cd rust && cargo +nightly fmt)

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D11678

AFFECTED FILES
  rust/hg-core/src/operations/cat.rs

CHANGE DETAILS

diff --git a/rust/hg-core/src/operations/cat.rs 
b/rust/hg-core/src/operations/cat.rs
--- a/rust/hg-core/src/operations/cat.rs
+++ b/rust/hg-core/src/operations/cat.rs
@@ -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,



To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to