diff options
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 |