Skip to content

Commit e0d3068

Browse files
authored
Merge pull request #2317 from vishalsodani/master
Fix sentence structure
2 parents 6e30df0 + cf6c4e8 commit e0d3068

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Design.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ until they are ready, and the 'do no harm' principle (see next section).
116116

117117
### First, do no harm
118118

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
120120
doing existing things well. I want to err on the side of the latter.
121121
Specifically, rustfmt should never take OK code and make it look worse. If we
122122
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 (
154154
`visit_*` methods is a bit hacky and is meant to be temporary until it can be
155155
done properly.
156156

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
158158
reformatting. These take the AST node to be reformatted (this may not literally
159159
be an AST node from syntex_syntax: there might be multiple parameters
160160
describing a logical node), the current indent, and the current width budget.

0 commit comments

Comments
 (0)