Commit 0741832
refactor(builtin): make BytesView escape_to private and generic over Logger
Address review comments on PR #4196: BytesView::escape_to and its helper write_byte_hex are internal (used only by the Show and ToJson impls in this package), so drop pub, and genericize them over [T : Logger] so writes dispatch statically where a concrete logger is passed. Regenerate pkg.generated.mbti (the pub entry is gone).
Co-Authored-By: SeekMoon <seekmoon@moonbitlang.com>1 parent da04c8b commit 0741832
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | | - | |
1174 | 1173 | | |
1175 | 1174 | | |
1176 | 1175 | | |
| |||
0 commit comments