@@ -71,7 +71,7 @@ into multi-line string literals.
71
71
was being embedded , then the indentation would be lost .
72
72
Finally , although `rustfmt ` could in principle reformat
73
73
these strings , in practice doing so in a reasonable way
74
- is complicated and so this has never been enabled .
74
+ is complicated and so this has never been enabled by default .
75
75
76
76
3 . Raw string literals , eg . `r # " I can use "s!" # `
77
77
@@ -251,7 +251,7 @@ problems with this (as demonstrated in this document).
251
251
252
252
### Quote style
253
253
254
- - ** 3+N backticks**
254
+ - : heavy_check_mark : ** 3+N backticks**
255
255
``` rust
256
256
let _ = ```
257
257
some code
@@ -289,7 +289,7 @@ problems with this (as demonstrated in this document).
289
289
290
290
### Indentation rules
291
291
292
- - * * Relative to closing quote + retain final newline **
292
+ - : heavy_check_mark : * * Relative to closing quote + retain final newline **
293
293
294
294
Benefits :
295
295
- Allows every possible indentation to be represented .
@@ -331,9 +331,9 @@ problems with this (as demonstrated in this document).
331
331
Drawbacks :
332
332
- Some indentations cannot be represented .
333
333
334
- ### Miscellaneous
334
+ ### Modifications
335
335
336
- - * * Language hint directly following opening quote **
336
+ - : heavy_check_mark : * * Language hint directly following opening quote **
337
337
338
338
This is intended to allow extra information (eg . language ) to be
339
339
conveyed by the programmer to macros and / or their IDE . For example :
@@ -345,7 +345,8 @@ problems with this (as demonstrated in this document).
345
345
Here , an intelligent IDE could apply syntax highlighting to the nested
346
346
code block , knowing that the code is SQL .
347
347
348
- - * * Annotation on closing quote to remove trailing newline **
348
+ - : heavy_check_mark : * * Annotation on closing quote to remove trailing
349
+ newline **
349
350
350
351
For indentation rules where the final quote must appear on
351
352
its own line and there is no way to represent a string without
0 commit comments