Skip to content

style: Change C to 100 columns#1928

Merged
davidlattimore merged 2 commits into
mainfrom
push-nttxtzqlszxr
May 14, 2026
Merged

style: Change C to 100 columns#1928
davidlattimore merged 2 commits into
mainfrom
push-nttxtzqlszxr

Conversation

@davidlattimore
Copy link
Copy Markdown
Member

No description provided.

This makes it more consistent with our Rust code
@davidlattimore
Copy link
Copy Markdown
Member Author

davidlattimore commented May 13, 2026

It has been bothering me for a while that our C code has a column width of 80, while all our Rust code has a column width of 100.

The first commit changes the clang-format config then reruns the formatter. In the second commit, I manually went to files with C-style comments and reflowed the comments. The automatic formatter would have been happy to leave the comments wrapped at 80, but I wasn't.

@davidlattimore davidlattimore merged commit 911e8cb into main May 14, 2026
24 checks passed
@davidlattimore davidlattimore deleted the push-nttxtzqlszxr branch May 14, 2026 00:13
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