From 51f42db1d5704008e50ceb101c8e13bcef0524a0 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 15 Dec 2020 11:49:22 +0300 Subject: Add `#` to canonical test example --- docs/dev/style.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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: 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 } } -", +"#, ); } ``` -- cgit v1.2.3