Skip to content

Conversation

@mgeisler
Copy link
Collaborator

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.
The other comments are apparently indented using tabs, so that's what I used here as well.
@mgeisler mgeisler enabled auto-merge (squash) November 19, 2024 14:07
Copy link
Collaborator

@michael-kerscher michael-kerscher left a 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
Copy link
Collaborator

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

Copy link
Collaborator Author

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.

@mgeisler mgeisler merged commit 1262da8 into main Nov 22, 2024
37 checks passed
@mgeisler mgeisler deleted the wrap-asm-comments branch November 22, 2024 09:24
HidenoriKobayashi pushed a commit to HidenoriKobayashi/comprehensive-rust that referenced this pull request Nov 25, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants