Closed EdJoPaTo closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.1%. Comparing base (
366c2a0
) to head (46ef759
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Simplifies the logic. Instead of trying to figure out the
max_offset
in a seemingly complicated way keep theremaining_width
and count down as long as there are characters left. This is way easier to understand for me what is going on.Part of the improvements I did with #1049. As this is without
_opt
methods this can still panic (same as current code on wrong input).