diff options
author | Aleksey Kladov <[email protected]> | 2020-12-15 08:49:22 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-15 08:49:22 +0000 |
commit | 51f42db1d5704008e50ceb101c8e13bcef0524a0 (patch) | |
tree | 7661413edef0610c87f8b2c52bd7593f760be349 /docs | |
parent | 134c7563be05d120ffb45d9b971ba95735a0fcb5 (diff) |
Add `#` to canonical test example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/style.md | 8 |
1 files changed, 4 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 | ``` |