aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/dev/style.md8
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#"
100struct S { foo: i32} 100struct S { foo: i32}
101fn main() { 101fn main() {
102 let <|>foo = 92; 102 let <|>foo = 92;
103 S { foo } 103 S { foo }
104} 104}
105", 105"#,
106 r" 106 r#"
107struct S { foo: i32} 107struct S { foo: i32}
108fn main() { 108fn main() {
109 S { foo: 92 } 109 S { foo: 92 }
110} 110}
111", 111"#,
112 ); 112 );
113 } 113 }
114``` 114```