diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-08-14 08:34:31 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-08-14 08:34:31 +0800 |
| commit | 861f9122c899a8ec52c62ecb0a1435226dd5fc1a (patch) | |
| tree | f421eaea5b639a1bcc0215994e9271db65eef47c /tests/rustdoc/source-code-pages/source-version-separator.rs | |
| parent | e52666380f6f03fb1211138171e0ef626ceb468d (diff) | |
| download | rust-861f9122c899a8ec52c62ecb0a1435226dd5fc1a.tar.gz rust-861f9122c899a8ec52c62ecb0a1435226dd5fc1a.zip | |
Fix indent for convert_match_to_let_else
Example
---
```
//- minicore: option
fn f() {
let x$0 = match Some(()) {
Some(it) => it,
None => {//comment
println!("nope");
return
},
};
}
```
**Old output**:
```rust
fn f() {
let Some(x) = Some(()) else {//comment
println!("nope");
return
};
}
```
**This PR output**:
```rust
fn f() {
let Some(x) = Some(()) else {//comment
println!("nope");
return
};
}
```
Diffstat (limited to 'tests/rustdoc/source-code-pages/source-version-separator.rs')
0 files changed, 0 insertions, 0 deletions
