From patchwork Wed Sep 30 17:00:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D9131: rust: fix formatting From: phabricator X-Patchwork-Id: 47352 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Wed, 30 Sep 2020 17:00:23 +0000 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 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")