File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
crates/ide-assists/src/handlers Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -369,15 +369,15 @@ fn main() {
369
369
bool_to_enum,
370
370
r#"
371
371
fn main() {
372
- let $0foo: bool = false;
372
+ let $0foo: bool = false;
373
373
}
374
374
"# ,
375
375
r#"
376
376
fn main() {
377
377
#[derive(PartialEq, Eq)]
378
378
enum Bool { True, False }
379
379
380
- let foo: Bool = Bool::False;
380
+ let foo: Bool = Bool::False;
381
381
}
382
382
"# ,
383
383
)
@@ -389,15 +389,15 @@ fn main() {
389
389
bool_to_enum,
390
390
r#"
391
391
fn main() {
392
- let $0foo = 1 == 2;
392
+ let $0foo = 1 == 2;
393
393
}
394
394
"# ,
395
395
r#"
396
396
fn main() {
397
397
#[derive(PartialEq, Eq)]
398
398
enum Bool { True, False }
399
399
400
- let foo = if 1 == 2 { Bool::True } else { Bool::False };
400
+ let foo = if 1 == 2 { Bool::True } else { Bool::False };
401
401
}
402
402
"# ,
403
403
)
@@ -468,7 +468,7 @@ fn main() {
468
468
bool_to_enum,
469
469
r#"
470
470
fn main() {
471
- let $0foo: bool;
471
+ let $0foo: bool;
472
472
foo = true;
473
473
}
474
474
"# ,
@@ -477,7 +477,7 @@ fn main() {
477
477
#[derive(PartialEq, Eq)]
478
478
enum Bool { True, False }
479
479
480
- let foo: Bool;
480
+ let foo: Bool;
481
481
foo = Bool::True;
482
482
}
483
483
"# ,
You can’t perform that action at this time.
0 commit comments