aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGeobert Quach <[email protected]>2019-09-29 19:14:19 +0100
committerGeobert Quach <[email protected]>2019-09-29 19:16:59 +0100
commite293c34e85d2343cd8f16842634133a2dee4e8ad (patch)
tree60a9a14ce8f8801aeb1454e1506edcad5996ca4c /docs
parent281e1071558dff3138805de49dfbb0ad91b3acd3 (diff)
feat(assists): Keep only one version of make_raw_string
Diffstat (limited to 'docs')
-rw-r--r--docs/user/features.md18
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>() {}
445fn foo<T, F>() where T: u32, F: FnOnce(T) -> T {} 445fn foo<T, F>() where T: u32, F: FnOnce(T) -> T {}
446``` 446```
447 447
448- Make raw string
449
450```rust
451// before:
452fn f() {
453 let s = <|>"abcd";
454}
455
456// after:
457fn 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:
471fn f() { 457fn f() {
472 let s = <|>r"ab 458 let s = <|>r#"ab
473cd"; 459cd"#;
474} 460}
475``` 461```
476 462