rustfmt.toml
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 01 Oct 2021 18:54:40 +0200
changeset 48126 a1a6569b9283
parent 45620 426294d06ddc
permissions -rw-r--r--
dirstatemap: add a common `_refresh_entry` method for dirstatemap This method is called once a DirstateItem have been modified to apply the change on the dirstatemap if necessary. Each variant have a different implementation (which is … the point). We use `addfile` for the rustmap and not `set_dirstate_item` because we need to keep the internal counter up to date and `set_dirstate_item` does not do it. Differential Revision: https://phab.mercurial-scm.org/D11571

edition = "2018"
max_width = 79
wrap_comments = true
error_on_line_overflow = true