Commit 08f744d
committed
refactor(server): use ServerResultExt::with_context at two server.rs sites
Replaces the closure-based set_context pattern at the UpdateEncoder::new
and client_loop call sites in run_connection with the
ServerResultExt::with_context ext-trait. Same semantics (preserves the
inner kind, replaces the context string), substantially less verbose.
Precheck-driven cleanup; no behavioral change.1 parent 6bd3833 commit 08f744d
1 file changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
1094 | 1094 | | |
1095 | 1095 | | |
1096 | 1096 | | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
| 1097 | + | |
1102 | 1098 | | |
1103 | 1099 | | |
1104 | 1100 | | |
1105 | 1101 | | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
| 1102 | + | |
1111 | 1103 | | |
1112 | 1104 | | |
1113 | 1105 | | |
| |||
0 commit comments