Mercurial > hg
view rustfmt.toml @ 46981:abd18d6306f1
errors: remove unnecessary varargs handling from OutOfBandError
In my recent D10465, I moved some code over from scmutil into
`OutOfBandError.__init__`. The code was written to deal with an
arbitrary number of `message` arguments to the constructor. It turns
out that we only ever pass 0 or 1. Given that, let's simplify it.
Differential Revision: https://phab.mercurial-scm.org/D10483
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 19 Apr 2021 21:31:24 -0700 |
parents | 426294d06ddc |
children |
line wrap: on
line source
edition = "2018" max_width = 79 wrap_comments = true error_on_line_overflow = true