Skip to content

Commit 283c0e4

Browse files
committed
style-guide: Remove trailing space
1 parent 9a9e827 commit 283c0e4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/doc/style-guide/src/expressions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Use parentheses liberally, do not necessarily elide them due to precedence.
294294
Tools should not automatically insert or remove parentheses. Do not use spaces
295295
to indicate precedence.
296296

297-
If line-breaking, put the operator on a new line and block indent. Put each
297+
If line-breaking, put the operator on a new line and block indent. Put each
298298
sub-expression on its own line. E.g.,
299299

300300
```rust
@@ -595,7 +595,7 @@ let x = match foo.bar.baz() {
595595
};
596596
```
597597

598-
Use a trailing comma for a match arm if and only if not using a block.
598+
Use a trailing comma for a match arm if and only if not using a block.
599599

600600
Never start a match arm pattern with `|`, e.g.,
601601

src/doc/style-guide/src/items.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pulled down to its own line and indented again.
113113
```rust
114114
struct Foo {
115115
a: A,
116-
long_name:
116+
long_name:
117117
LongType,
118118
}
119119
```
@@ -129,7 +129,7 @@ The same guidelines are used for untagged union declarations.
129129
union Foo {
130130
a: A,
131131
b: B,
132-
long_name:
132+
long_name:
133133
LongType,
134134
}
135135
```

src/doc/style-guide/src/statements.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ let foo:
7979
ALongType =
8080
{
8181
an_expression();
82-
...
82+
...
8383
};
8484

8585
let Foo {
8686
f: abcd,
8787
g: qwer,
8888
}: Foo<Bar> = Foo {
89-
f: blimblimblim,
89+
f: blimblimblim,
9090
g: blamblamblam,
9191
};
9292

0 commit comments

Comments
 (0)