File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ until they are ready, and the 'do no harm' principle (see next section).
116
116
117
117
### First, do no harm
118
118
119
- Until rustfmt it perfect, there will always be a trade-off between doing more and
119
+ Until rustfmt is perfect, there will always be a trade-off between doing more and
120
120
doing existing things well. I want to err on the side of the latter.
121
121
Specifically, rustfmt should never take OK code and make it look worse. If we
122
122
can't make it better, we should leave it as is. That might mean being less
@@ -154,7 +154,7 @@ Our visitor keeps track of the desired current indent due to blocks (
154
154
` visit_* ` methods is a bit hacky and is meant to be temporary until it can be
155
155
done properly.
156
156
157
- There are a bunch of methods called ` rewrite_* ` . There do the bulk of the
157
+ There are a bunch of methods called ` rewrite_* ` . They do the bulk of the
158
158
reformatting. These take the AST node to be reformatted (this may not literally
159
159
be an AST node from syntex_syntax: there might be multiple parameters
160
160
describing a logical node), the current indent, and the current width budget.
You can’t perform that action at this time.
0 commit comments