We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ee535b + 68bba15 commit 0bd84deCopy full SHA for 0bd84de
text/1607-style-rfcs.md
@@ -201,15 +201,15 @@ and newlines after the opening brace and before the closing brace). The former
201
approach should be used for short struct literals, the latter for longer struct
202
literals. For tools, the first approach should be used when the width of the
203
fields (excluding commas and braces) is 16 characters. E.g.,
204
-
+>
205
> ```rust
206
-let x = Foo { a: 42, b: 34 };
207
-let y = Foo {
208
- a: 42,
209
- b: 34,
210
- c: 1000
211
-};
212
-```
+> let x = Foo { a: 42, b: 34 };
+> let y = Foo {
+> a: 42,
+> b: 34,
+> c: 1000
+> };
+> ```
213
214
(Note this is just an example, not a proposed guideline).
215
0 commit comments