Submitter | phabricator |
---|---|
Date | Oct. 15, 2021, 10:18 a.m. |
Message ID | <differential-rev-PHID-DREV-bif6eyifto4f74i7ft6k-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50002/ |
State | Superseded |
Headers | show |
Comments
Patch
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,