mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
Merge #6887
6887: Add `#` to canonical test example r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
+4
-4
@@ -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 }
|
||||
}
|
||||
",
|
||||
"#,
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user