diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-15 08:49:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-15 08:49:54 +0000 |
| commit | 95f3dcd90972543dd03b4eb4c15dbb2ec5ebda9d (patch) | |
| tree | 99414e941591f4e6245450c175d9095c42e7b410 /docs/dev | |
| parent | 65e31a1b5bc8879fce0acd0ea8941f33148c7804 (diff) | |
| parent | 51f42db1d5704008e50ceb101c8e13bcef0524a0 (diff) | |
| download | rust-95f3dcd90972543dd03b4eb4c15dbb2ec5ebda9d.tar.gz rust-95f3dcd90972543dd03b4eb4c15dbb2ec5ebda9d.zip | |
Merge #6887
6887: Add `#` to canonical test example r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Diffstat (limited to 'docs/dev')
| -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 c8d943142a8..13c6a2a167b 100644 --- a/docs/dev/style.md +++ b/docs/dev/style.md @@ -96,19 +96,19 @@ When using multiline fixtures, use unindented raw string literals: fn inline_field_shorthand() { check_assist( inline_local_variable, - r" + r#" struct S { foo: i32} fn main() { let <|>foo = 92; S { foo } } -", - r" +"#, + r#" struct S { foo: i32} fn main() { S { foo: 92 } } -", +"#, ); } ``` |
