rustfmt.toml
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 07 Nov 2020 16:45:58 -0800
changeset 45878 68aedad4c11c
parent 45623 426294d06ddc
permissions -rw-r--r--
pure: guard against empty blocks If blocks is empty, we append `None` to the returned list, which is incorrect. This subtle issue was caught by pytype, which correctly identified the return value as List[Optional[Tuple]] because of this possibility. Differential Revision: https://phab.mercurial-scm.org/D9279

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