diff options
author | Geobert Quach <[email protected]> | 2019-09-26 20:31:45 +0100 |
---|---|---|
committer | Geobert Quach <[email protected]> | 2019-09-26 20:31:45 +0100 |
commit | 281e1071558dff3138805de49dfbb0ad91b3acd3 (patch) | |
tree | 55c2bca96fdf15f53c067dcc3b70b84e967006c4 /docs | |
parent | 53a30d9e69ee5149e4fdb1c6fe4081281e879d0e (diff) |
feat(assists): Make raw string unescaped
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/features.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/user/features.md b/docs/user/features.md index eb81cba26..fadd4cdf1 100644 --- a/docs/user/features.md +++ b/docs/user/features.md | |||
@@ -459,6 +459,21 @@ fn f() { | |||
459 | } | 459 | } |
460 | ``` | 460 | ``` |
461 | 461 | ||
462 | - Make raw string unescaped | ||
463 | |||
464 | ```rust | ||
465 | // before: | ||
466 | fn f() { | ||
467 | let s = <|>"ab\ncd"; | ||
468 | } | ||
469 | |||
470 | // after: | ||
471 | fn f() { | ||
472 | let s = <|>r"ab | ||
473 | cd"; | ||
474 | } | ||
475 | ``` | ||
476 | |||
462 | - Make usual string | 477 | - Make usual string |
463 | 478 | ||
464 | ```rust | 479 | ```rust |