mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
Add #
to canonical test example
This commit is contained in:
parent
134c7563be
commit
51f42db1d5
1 changed files with 4 additions and 4 deletions
|
@ -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 }
|
||||
}
|
||||
",
|
||||
"#,
|
||||
);
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue