11### Let statements
22
33There should be spaces after the ` : ` and on both sides of the ` = ` (if they are
4- present). No space before the semi-colon .
4+ present). No space before the semicolon .
55
66``` rust
77// A comment.
@@ -194,7 +194,7 @@ used to determine whether a let-else statement is *short*.
194194### Macros in statement position
195195
196196A macro use in statement position should use parentheses or square brackets as
197- delimiters and should be terminated with a semi-colon . There should be no spaces
197+ delimiters and should be terminated with a semicolon . There should be no spaces
198198between the name, ` ! ` , the delimiters, or the ` ; ` .
199199
200200``` rust
@@ -205,13 +205,13 @@ a_macro!(...);
205205
206206### Expressions in statement position
207207
208- There should be no space between the expression and the semi-colon .
208+ There should be no space between the expression and the semicolon .
209209
210210```
211211<expr>;
212212```
213213
214- All expressions in statement position should be terminated with a semi-colon ,
214+ All expressions in statement position should be terminated with a semicolon ,
215215unless they end with a block or are used as the value for a block.
216216
217217E.g.,
@@ -229,7 +229,7 @@ loop {
229229}
230230```
231231
232- Use a semi-colon where an expression has void type, even if it could be
232+ Use a semicolon where an expression has void type, even if it could be
233233propagated. E.g.,
234234
235235``` rust
0 commit comments