We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42142f7 commit 589f157Copy full SHA for 589f157
crates/ide-assists/src/handlers/convert_to_guarded_return.rs
@@ -421,14 +421,16 @@ fn main() {
421
if$0 let Ok(x) = Err(92) {
422
foo(x);
423
} else {
424
- return ;
+ // needless comment
425
+ return;
426
}
427
428
"#,
429
r#"
430
fn main() {
431
let Ok(x) = Err(92) else {
432
433
434
};
435
436
0 commit comments