rustfmt.toml
author Matt Harbison <matt_harbison@yahoo.com>
Tue, 10 Jan 2023 12:55:49 -0500
changeset 49974 024e0580b853
parent 45623 426294d06ddc
permissions -rw-r--r--
diffutil: rewrite an ersatz ternary operator for building diffopts.text Pytype tends to get confused by these, but the real problem here is that if the caller passes `opts={}` as TortoiseHg has been doing, that is set as the value for `diffopts.text` when in reality it expects a boolean. When `None` is passed explicitly, the default value in `mdiff.defaultopts` is assigned.

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