view rustfmt.toml @ 47967:6c653d9d41b8

rust: Make private the `index` field of the `Revlog` struct To replace the previous use of this field from another module, add a `node_from_rev` method. This is the same method that already existed on `Changelog`. Differential Revision: https://phab.mercurial-scm.org/D11414
author Simon Sapin <simon.sapin@octobus.net>
date Tue, 14 Sep 2021 18:07:11 +0200
parents 426294d06ddc
children
line wrap: on
line source

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