Commit a9e2b31
fix(fmt): properly handle multiline_func_header = "all" + bump alloy (foundry-rs#12110)
* fix: don't normalize single-line non-doc block cmnts
* fix: preserve consecutive whitespaces
* fix: use byte length instead of char count
* fix(fmt): properly handle multiline_func_header = "all"
* fix: bump alloy
* fix: bump alloy1 parent 8c0f2f2 commit a9e2b31
File tree
7 files changed
+52
-21
lines changed- crates/fmt
- src/state
- testdata
- FunctionDefinition
- ReprosFunctionDefs
- tests
7 files changed
+52
-21
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
464 | 469 | | |
465 | 470 | | |
466 | 471 | | |
| |||
2433 | 2438 | | |
2434 | 2439 | | |
2435 | 2440 | | |
| 2441 | + | |
| 2442 | + | |
2436 | 2443 | | |
2437 | 2444 | | |
2438 | 2445 | | |
| |||
2449 | 2456 | | |
2450 | 2457 | | |
2451 | 2458 | | |
2452 | | - | |
| 2459 | + | |
| 2460 | + | |
2453 | 2461 | | |
2454 | 2462 | | |
2455 | 2463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
731 | 734 | | |
732 | 735 | | |
733 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| |||
0 commit comments