-
-
Notifications
You must be signed in to change notification settings - Fork 17k
Align dbg!() and line!() output #58647
Copy link
Copy link
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Description
Activity
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Hello.
Please, consider this issue as a minor.
Output of dbg!() macro will be better if it will align source code line number. I found that line!() macro does it. I think it would be nice if this macro always emit 4 chars, because most source code files has less than 10k lines. Consider the example:
I guess this will be better:
or
Thank you.