Skip to content

Commit 95f3dcd

Browse files
bors[bot]matklad
andauthored
Merge #6887
6887: Add `#` to canonical test example r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 65e31a1 + 51f42db commit 95f3dcd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/dev/style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,19 @@ When using multiline fixtures, use unindented raw string literals:
9696
fn inline_field_shorthand() {
9797
check_assist(
9898
inline_local_variable,
99-
r"
99+
r#"
100100
struct S { foo: i32}
101101
fn main() {
102102
let <|>foo = 92;
103103
S { foo }
104104
}
105-
",
106-
r"
105+
"#,
106+
r#"
107107
struct S { foo: i32}
108108
fn main() {
109109
S { foo: 92 }
110110
}
111-
",
111+
"#,
112112
);
113113
}
114114
```

0 commit comments

Comments
 (0)