Patchwork D12173: rust: fix code formatting

login
register
mail settings
Submitter phabricator
Date Feb. 14, 2022, 6 p.m.
Message ID <differential-rev-PHID-DREV-nsgv3zgnbo6tu2z4qkkn-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50508/
State New
Headers show

Comments

phabricator - Feb. 14, 2022, 6 p.m.
SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  rust/rhg/src/commands/status.rs

CHANGE DETAILS




To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/rust/rhg/src/commands/status.rs b/rust/rhg/src/commands/status.rs
--- a/rust/rhg/src/commands/status.rs
+++ b/rust/rhg/src/commands/status.rs
@@ -443,7 +443,8 @@ 
         mut paths: Vec<StatusPath<'_>>,
     ) -> Result<(), CommandError> {
         paths.sort_unstable();
-        // TODO: get the stdout lock once for the whole loop instead of in each write
+        // TODO: get the stdout lock once for the whole loop
+        // instead of in each write
         for StatusPath { path, copy_source } in paths {
             let relative;
             let path = if let Some(relativize) = &self.relativize {