mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Auto merge of #16690 - roife:fix-issue-16471, r=Veykril
fix: use 4 spaces for indentation in macro expansion Partial fix for #16471. In the previous code, the indentation produced by macro expansion was set to 2 spaces. This PR modifies it to 4 spaces for the sake of consistency.
This commit is contained in:
commit
0b7d4cc6ff
5 changed files with 52 additions and 64 deletions
|
@ -6366,8 +6366,8 @@ fn main() { $0V; }
|
|||
|
||||
```rust
|
||||
pub const V: i8 = {
|
||||
let e = 123;
|
||||
f(e)
|
||||
let e = 123;
|
||||
f(e)
|
||||
}
|
||||
```
|
||||
"#]],
|
||||
|
@ -6393,7 +6393,7 @@ fn main() { $0V; }
|
|||
|
||||
```rust
|
||||
pub static V: i8 = {
|
||||
let e = 123;
|
||||
let e = 123;
|
||||
}
|
||||
```
|
||||
"#]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue