Commit 2759e38
style(webui): satisfy rustfmt and clippy (fmt wrap + drop must-use results)
CI's fmt and clippy jobs were red on the previous commit:
- rustfmt wanted the 403 `respond(...)` guard call wrapped across lines.
- `#![deny(clippy::let_underscore_must_use)]` rejected `let _ =` on the
must-use results of `serde_json::to_writer` (value_fingerprint) and
`self.flush()` (ws close echo). Discard them with `drop(...)` instead —
behaviourally identical, no `let _`.
No functional change. fmt clean, `cargo clippy --all-features` errors gone,
webui unit tests still 7/7.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsqkqerfYQ4A48asmUxDQG1 parent 0be35c2 commit 2759e38
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
610 | 615 | | |
611 | 616 | | |
612 | 617 | | |
| |||
1134 | 1139 | | |
1135 | 1140 | | |
1136 | 1141 | | |
1137 | | - | |
1138 | | - | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
1139 | 1145 | | |
1140 | 1146 | | |
1141 | 1147 | | |
| |||
1321 | 1327 | | |
1322 | 1328 | | |
1323 | 1329 | | |
1324 | | - | |
| 1330 | + | |
1325 | 1331 | | |
1326 | 1332 | | |
1327 | 1333 | | |
| |||
0 commit comments