mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
fixed whitespace
This commit is contained in:
parent
8e8e1951e2
commit
8f09e13c06
1 changed files with 13 additions and 15 deletions
|
@ -4437,8 +4437,7 @@ fn $0fun_name() {
|
|||
extract_function,
|
||||
r#"
|
||||
fn func() {
|
||||
let i = 0;
|
||||
$0
|
||||
let i = 0;$0
|
||||
let a = 0;
|
||||
// comment here!
|
||||
let x = 0;$0
|
||||
|
@ -4447,7 +4446,6 @@ fn func() {
|
|||
r#"
|
||||
fn func() {
|
||||
let i = 0;
|
||||
|
||||
fun_name();
|
||||
}
|
||||
|
||||
|
@ -4572,9 +4570,9 @@ fn $0fun_name() {
|
|||
r#"
|
||||
fn func() {
|
||||
let i = 0;
|
||||
$0/*
|
||||
a
|
||||
comment
|
||||
$0/*
|
||||
a
|
||||
comment
|
||||
*/
|
||||
let x = 0;$0
|
||||
}
|
||||
|
@ -4586,9 +4584,9 @@ fn func() {
|
|||
}
|
||||
|
||||
fn $0fun_name() {
|
||||
/*
|
||||
a
|
||||
comment
|
||||
/*
|
||||
a
|
||||
comment
|
||||
*/
|
||||
let x = 0;
|
||||
}
|
||||
|
@ -4603,9 +4601,9 @@ fn $0fun_name() {
|
|||
r#"
|
||||
fn func() {
|
||||
let i = 0;
|
||||
$0/*
|
||||
a
|
||||
comment
|
||||
$0/*
|
||||
a
|
||||
comment
|
||||
*/
|
||||
$0let x = 0;
|
||||
}
|
||||
|
@ -4618,9 +4616,9 @@ fn func() {
|
|||
}
|
||||
|
||||
fn $0fun_name() {
|
||||
/*
|
||||
a
|
||||
comment
|
||||
/*
|
||||
a
|
||||
comment
|
||||
*/
|
||||
}
|
||||
"#,
|
||||
|
|
Loading…
Reference in a new issue