diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/features.md | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/docs/user/features.md b/docs/user/features.md index fadd4cdf1..23842f409 100644 --- a/docs/user/features.md +++ b/docs/user/features.md | |||
@@ -445,20 +445,6 @@ fn foo<T: u32, F: FnOnce(T) -> T>() {} | |||
445 | fn foo<T, F>() where T: u32, F: FnOnce(T) -> T {} | 445 | fn foo<T, F>() where T: u32, F: FnOnce(T) -> T {} |
446 | ``` | 446 | ``` |
447 | 447 | ||
448 | - Make raw string | ||
449 | |||
450 | ```rust | ||
451 | // before: | ||
452 | fn f() { | ||
453 | let s = <|>"abcd"; | ||
454 | } | ||
455 | |||
456 | // after: | ||
457 | fn f() { | ||
458 | let s = <|>r"abcd"; | ||
459 | } | ||
460 | ``` | ||
461 | |||
462 | - Make raw string unescaped | 448 | - Make raw string unescaped |
463 | 449 | ||
464 | ```rust | 450 | ```rust |
@@ -469,8 +455,8 @@ fn f() { | |||
469 | 455 | ||
470 | // after: | 456 | // after: |
471 | fn f() { | 457 | fn f() { |
472 | let s = <|>r"ab | 458 | let s = <|>r#"ab |
473 | cd"; | 459 | cd"#; |
474 | } | 460 | } |
475 | ``` | 461 | ``` |
476 | 462 | ||