-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Wrap assembly comments consistently #2430
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
Conversation
Some lines were much longer than others. They are now consistently wrapped at 70 columns. Why so short, why not 80 or 90? Because we sometimes need to browse these files during class, and there we don’t have a lot of horizontal space when using large fonts.
The other comments are apparently indented using tabs, so that's what I used here as well.
michael-kerscher
left a comment
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.
The commit looks good to me. There are differences in the indentation style (tabs vs spaces) though.
| /* | ||
| * Load and apply the memory management configuration, ready to enable MMU and | ||
| * caches. | ||
| * Load and apply the memory management configuration, ready to |
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.
these are spaces to indent, files below have tabs. Should we try to have one style over all files?
This could also be a separate commit
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.
Yeah, having a consistent style would be good! Perhaps we could teach dprint to do this, but it might not be worth is since we touch these files very very rarely.
Some lines were much longer than others. They are now consistently wrapped at 70 columns. Why so short, why not 80 or 90? Because we sometimes need to browse these files during class, and there we don’t have a lot of horizontal space when using large fonts.
Some lines were much longer than others. They are now consistently
wrapped at 70 columns. Why so short, why not 80 or 90? Because we
sometimes need to browse these files during class, and there we don’t
have a lot of horizontal space when using large fonts.