diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/style.md | 8 | ||||
-rw-r--r-- | docs/user/manual.adoc | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/docs/dev/style.md b/docs/dev/style.md index c8d943142..13c6a2a16 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md | |||
@@ -96,19 +96,19 @@ When using multiline fixtures, use unindented raw string literals: | |||
96 | fn inline_field_shorthand() { | 96 | fn inline_field_shorthand() { |
97 | check_assist( | 97 | check_assist( |
98 | inline_local_variable, | 98 | inline_local_variable, |
99 | r" | 99 | r#" |
100 | struct S { foo: i32} | 100 | struct S { foo: i32} |
101 | fn main() { | 101 | fn main() { |
102 | let <|>foo = 92; | 102 | let <|>foo = 92; |
103 | S { foo } | 103 | S { foo } |
104 | } | 104 | } |
105 | ", | 105 | "#, |
106 | r" | 106 | r#" |
107 | struct S { foo: i32} | 107 | struct S { foo: i32} |
108 | fn main() { | 108 | fn main() { |
109 | S { foo: 92 } | 109 | S { foo: 92 } |
110 | } | 110 | } |
111 | ", | 111 | "#, |
112 | ); | 112 | ); |
113 | } | 113 | } |
114 | ``` | 114 | ``` |
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 42317b231..1ec6e81bb 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -289,6 +289,8 @@ GNOME Builder 3.37.1 and newer has native `rust-analyzer` support. If the LSP bi | |||
289 | 289 | ||
290 | == Configuration | 290 | == Configuration |
291 | 291 | ||
292 | **Source:** https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs[config.rs] | ||
293 | |||
292 | rust-analyzer is configured via LSP messages, which means that it's up to the editor to decide on the exact format and location of configuration files. | 294 | rust-analyzer is configured via LSP messages, which means that it's up to the editor to decide on the exact format and location of configuration files. |
293 | Please consult your editor's documentation to learn how to configure LSP servers. | 295 | Please consult your editor's documentation to learn how to configure LSP servers. |
294 | 296 | ||