Commit 379efcd
authored
refactor: remove dead Option and is_cache_hit from labeled reporter (#163)
## Summary
Follow-up to #162 — remove vestiges left by that refactor:
- **`summary_buf`**: was unconditionally `Some(...)` after the
`is_single_displayless` condition was removed. Unwrap the `Option` and
write the buffer directly.
- **`is_cache_hit`** field on `LabeledLeafReporter`: set in `start()`
but never read — its only consumer was the `self.display.is_none() &&
self.is_cache_hit` block removed in #162. Remove the field, its
initialization, and its assignment.1 parent b4dba39 commit 379efcd
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
| |||
162 | 161 | | |
163 | 162 | | |
164 | 163 | | |
165 | | - | |
| 164 | + | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| |||
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
204 | | - | |
205 | | - | |
| 203 | + | |
| 204 | + | |
206 | 205 | | |
207 | | - | |
| 206 | + | |
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
| |||
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
228 | | - | |
229 | | - | |
230 | 227 | | |
231 | 228 | | |
232 | 229 | | |
| |||
238 | 235 | | |
239 | 236 | | |
240 | 237 | | |
241 | | - | |
242 | 238 | | |
243 | 239 | | |
244 | 240 | | |
| |||
0 commit comments