Patchwork D9131: rust: fix formatting

login
register
mail settings
Submitter phabricator
Date Sept. 30, 2020, 5 p.m.
Message ID <differential-rev-PHID-DREV-kw64x5qhvr7kwlvksuwy-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47352/
State Superseded
Headers show

Comments

phabricator - Sept. 30, 2020, 5 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Maybe there is a small divergence in the nightly formatter? This didn't seem to
  trip the CI.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  rust/hg-core/src/dirstate/dirstate_tree/node.rs

CHANGE DETAILS




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

Patch

diff --git a/rust/hg-core/src/dirstate/dirstate_tree/node.rs b/rust/hg-core/src/dirstate/dirstate_tree/node.rs
--- a/rust/hg-core/src/dirstate/dirstate_tree/node.rs
+++ b/rust/hg-core/src/dirstate/dirstate_tree/node.rs
@@ -91,9 +91,7 @@ 
 
         match &mut self.kind {
             NodeKind::Directory(directory) => {
-                Node::insert_in_directory(
-                    directory, new_entry, head, tail,
-                )
+                Node::insert_in_directory(directory, new_entry, head, tail)
             }
             NodeKind::File(_) => {
                 unreachable!("The file case has already been handled")