Skip to content

Commit 51f42db

Browse files
committed
Add # to canonical test example
1 parent 134c756 commit 51f42db

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)