Commit 391864e
committed
fix: resolve remaining fmt and clippy errors
rustfmt (rust 1.95) collapses two multiline match arms in the validation
module onto single lines; apply cargo fmt. Clippy's collapsible_match
also fires on the html5lib tree construction test harness — lift the
inner `if !line.is_empty()` checks into match guards to match the fix
already applied to the library sources in 29f404e.1 parent 29f404e commit 391864e
3 files changed
Lines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2556 | 2556 | | |
2557 | 2557 | | |
2558 | 2558 | | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
| 2559 | + | |
2562 | 2560 | | |
2563 | 2561 | | |
2564 | 2562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1775 | 1775 | | |
1776 | 1776 | | |
1777 | 1777 | | |
1778 | | - | |
1779 | | - | |
1780 | | - | |
| 1778 | + | |
1781 | 1779 | | |
1782 | 1780 | | |
1783 | 1781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 108 | + | |
| 109 | + | |
112 | 110 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 111 | + | |
| 112 | + | |
117 | 113 | | |
118 | 114 | | |
119 | 115 | | |
| |||
0 commit comments