aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/README.md2
-rw-r--r--docs/user/features.md7
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index 44d6ee739..036b51d58 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -45,7 +45,7 @@ should adapt these manual installation instructions:
45``` 45```
46$ git clone https://github.com/rust-analyzer/rust-analyzer.git --depth 1 46$ git clone https://github.com/rust-analyzer/rust-analyzer.git --depth 1
47$ cd rust-analyzer 47$ cd rust-analyzer
48$ cargo install --path ./crates/ra_lsp_server/ --force 48$ cargo install --path ./crates/ra_lsp_server/ --force --locked
49$ cd ./editors/code 49$ cd ./editors/code
50$ npm install 50$ npm install
51$ ./node_modules/vsce/out/vsce package 51$ ./node_modules/vsce/out/vsce package
diff --git a/docs/user/features.md b/docs/user/features.md
index 757a02838..8b7a8d7fc 100644
--- a/docs/user/features.md
+++ b/docs/user/features.md
@@ -459,17 +459,18 @@ fn foo<T: u32, F: FnOnce(T) -> T>() {}
459fn foo<T, F>() where T: u32, F: FnOnce(T) -> T {} 459fn foo<T, F>() where T: u32, F: FnOnce(T) -> T {}
460``` 460```
461 461
462- Make raw string 462- Make raw string unescaped
463 463
464```rust 464```rust
465// before: 465// before:
466fn f() { 466fn f() {
467 let s = <|>"abcd"; 467 let s = <|>"ab\ncd";
468} 468}
469 469
470// after: 470// after:
471fn f() { 471fn f() {
472 let s = <|>r"abcd"; 472 let s = <|>r#"ab
473cd"#;
473} 474}
474``` 475```
475 476