Skip to content

fix(man): clean up value hint roff and unix cfg gating in sync test#379

Merged
KSXGitHub merged 1 commit intoclaude/add-man-page-generation-BKX0Mfrom
copilot/fix-reviews-issues
Mar 28, 2026
Merged

fix(man): clean up value hint roff and unix cfg gating in sync test#379
KSXGitHub merged 1 commit intoclaude/add-man-page-generation-BKX0Mfrom
copilot/fix-reviews-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 28, 2026

Two unresolved review comments from PR #378:

  • src/man_page.rs: parts.join("\\fI \\fR") produced needlessly noisy roff — e.g. \fI<TREE_WIDTH>\fR\fI \fR\fI<BAR_WIDTH>\fR. Replaced with parts.join(" ") so the separator is a plain space between already-italic spans: \fI<TREE_WIDTH>\fR \fI<BAR_WIDTH>\fR.

  • tests/sync_man_page.rs: #![cfg(unix)] silently dropped the entire file on non-Unix. Since render_man_page() has no platform-specific code, the test compiles everywhere. Replaced with #[cfg_attr(not(unix), ignore = "...")] on the test fn per CONTRIBUTING.md convention.

  • exports/pdu.1: Regenerated to reflect the cleaner roff output.

@github-actions
Copy link
Copy Markdown

Performance Regression Reports

commit: 2a46374

There are no regressions.

@KSXGitHub KSXGitHub marked this pull request as ready for review March 28, 2026 12:22
@KSXGitHub KSXGitHub merged commit 1d325a3 into claude/add-man-page-generation-BKX0M Mar 28, 2026
13 checks passed
@KSXGitHub KSXGitHub deleted the copilot/fix-reviews-issues branch March 28, 2026 12:22
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