File tree 2 files changed +5
-1
lines changed
src/tools/rust-analyzer/crates/ide/src
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ fn hover_offset(
346
346
. unique ( )
347
347
. reduce ( |mut acc : HoverResult , HoverResult { markup, actions } | {
348
348
acc. actions . extend ( actions) ;
349
- acc. markup = Markup :: from ( format ! ( "{}\n ---\n {markup}" , acc. markup) ) ;
349
+ acc. markup = Markup :: from ( format ! ( "{}\n \n ---\n {markup}" , acc. markup) ) ;
350
350
acc
351
351
} )
352
352
. map ( |mut res : HoverResult | {
Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ m!(ab$0c);
303
303
---
304
304
305
305
Outer
306
+
306
307
---
307
308
308
309
```rust
@@ -4401,6 +4402,7 @@ fn main() {
4401
4402
---
4402
4403
4403
4404
size = 8, align = 8, niches = 1
4405
+
4404
4406
---
4405
4407
4406
4408
```rust
@@ -10094,6 +10096,7 @@ fn bar() {
10094
10096
```rust
10095
10097
let field: i32
10096
10098
```
10099
+
10097
10100
---
10098
10101
10099
10102
```rust
@@ -10128,6 +10131,7 @@ fn bar() {
10128
10131
---
10129
10132
10130
10133
size = 4, align = 4
10134
+
10131
10135
---
10132
10136
10133
10137
```rust
You can’t perform that action at this time.
0 commit comments