rustfmt.toml
author Raphaël Gomès <rgomes@octobus.net>
Tue, 29 Mar 2022 00:57:06 +0200
changeset 49121 10edc54d18f1
parent 45620 426294d06ddc
permissions -rw-r--r--
rust-dirstatemap: remove `set_dirstate_entry`/`set_entry` methods These methods were needed crutches before the Rust implementation caught up to Python. Calling `set_entry` (whether from Python or Rust) was dangerous since it didn't update any of the counters of the DirstateMap data structure, while having no real way of knowing when to use it "correctly" except it you were one of the 3 people who looked deep enough into the soul of this code. Differential Revision: https://phab.mercurial-scm.org/D12519

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