From e293c34e85d2343cd8f16842634133a2dee4e8ad Mon Sep 17 00:00:00 2001 From: Geobert Quach Date: Sun, 29 Sep 2019 19:14:19 +0100 Subject: feat(assists): Keep only one version of make_raw_string --- docs/user/features.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'docs') 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>() {} fn foo() where T: u32, F: FnOnce(T) -> T {} ``` -- Make raw string - -```rust -// before: -fn f() { - let s = <|>"abcd"; -} - -// after: -fn f() { - let s = <|>r"abcd"; -} -``` - - Make raw string unescaped ```rust @@ -469,8 +455,8 @@ fn f() { // after: fn f() { - let s = <|>r"ab -cd"; + let s = <|>r#"ab +cd"#; } ``` -- cgit v1.2.3