changeset 45608:423f17f94f35

rust: fix formatting Maybe there is a small divergence in the nightly formatter? This didn't seem to trip the CI. Differential Revision: https://phab.mercurial-scm.org/D9131
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 30 Sep 2020 18:23:43 +0200
parents 75f785888a7b
children e604a3c03ab9
files rust/hg-core/src/dirstate/dirstate_tree/node.rs
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate/dirstate_tree/node.rs	Wed Sep 23 10:02:16 2020 +0200
+++ b/rust/hg-core/src/dirstate/dirstate_tree/node.rs	Wed Sep 30 18:23:43 2020 +0200
@@ -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")