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 @@ impl Node { 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")