Commit 5bb37ce
committed
Improve formatting within
rustfmt doesn't touch it because it's a macro body, but it's large
enough that the misformatting is annoying. This commit improves it. The
most common problems fixed:
- Unnecessary multi-line patterns reduced to one line.
- Multi-line function headers adjusted so the parameter indentation
doesn't depend on the length of the function name. (This is Rust code,
not C.)
- `|` used at the start of lines, not the end.
- More consistent formatting of empty function bodies.
- Overly long lines are broken.make_mir_visitor macro body.1 parent 311e8d3 commit 5bb37ce
1 file changed
+128
-142
lines changed
0 commit comments