-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve forc-fmt to format std lib and core #5410
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, left a nit
Most codes work fine with byte-offsets instead of char offsets (not always one char offset is equal to one byte offset). Non ascii character usually appears inside strings and comments and it was messing up the offsets from that point forward
4550c29
to
7ab743e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
2bd20f1
to
edf58e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks
Description
Changes needed to build #5404 and #5405
Improvements
asm
formattingBetter output when tests fail
Checklist
Breaking*
orNew Feature
labels where relevant.