Skip to content

style: reflow comments to match rustfmt comment_width - #51

Open
ustorbeck wants to merge 2 commits into
network-analytics:mainfrom
ustorbeck:fmt-fix
Open

style: reflow comments to match rustfmt comment_width#51
ustorbeck wants to merge 2 commits into
network-analytics:mainfrom
ustorbeck:fmt-fix

Conversation

@ustorbeck

Copy link
Copy Markdown
Member

Reformat comments across the workspace to conform to rustfmt's default comment_width setting, following the upgrade to a rustfmt build that includes upstream fix rust-lang/rustfmt#6802 ("Fix comments rewritten too long").

Reformat with a current nightly rustfmt (>= 2026-08-20) that
includes upstream fix rust-lang/rustfmt#6802 ("Fix comments
rewritten too long"). Previously, comment_width wrapping ignored
the current indentation level, so deeply indented comments wrapped
too close to max_width (100) instead of the intended comment_width
(80).

This commit only reflows existing comment text produced by
rustfmt; no code, string literals, or doc-test examples were
touched.
Manually touch up comments left badly wrapped by the previous
automated rustfmt pass, and fix a few pre-existing typos
surfaced along the way.

Also add a "NetCalyx Authors" copyright header line to touched
files that lacked it.
@ustorbeck
ustorbeck enabled auto-merge (rebase) September 4, 2026 16:24
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.

1 participant