Skip to content

docs: clean up crate comments, align rustdoc with upstream 3.5.2, and document public items - #8384

Merged
oferchen merged 5 commits into
masterfrom
feat/upstream-3.5.2
Nov 15, 2026
Merged

oferchen merged 5 commits into
masterfrom
feat/upstream-3.5.2

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Systematic rustdoc and comment cleanup across all 24 workspace crates, using the code as the source of truth while preserving all upstream: source citations and // SAFETY: blocks.

Changes

  • Public rustdoc & // -> /// conversions:
    • crates/engine/src/concurrent_delta/work_queue/bounded.rs: converted SendError recovery note above BoundedWorkQueue::send from // to /// rustdoc.
    • crates/protocol/src/flist/flags.rs: gave XMIT_IO_ERROR_ENDLIST its own /// rustdoc block separate from XMIT_HLINK_FIRST.
    • crates/rsync_io/src/ssh/embedded/ssh_config_differential.rs: added /// rustdoc to Differential::mismatches, Differential::cell, and Differential::count.
  • Upstream 3.5.2 doc alignment (preserving historical 3.5.1 measurement/protocol-33 notes):
    • Updated crates/checksums/README.md, crates/checksums/src/lib.rs, crates/protocol/README.md, crates/apple-fs/src/resource_fork.rs, crates/core/src/exit_code/codes.rs, crates/core/src/signal/mod.rs, and crates/core/src/message/strings.rs.
  • Unhelpful // comment removal:
    • crates/protocol/src/flist/entry/accessors.rs: removed redundant comments in reclaim_heap_data.
    • crates/protocol/src/wire/vectored.rs: removed redundant loop comment above for s in slices.

Verification

  • python3 tools/ci/check_rustfmt_all.py --write & cargo fmt --check: passed (3623 .rs files).
  • python3 tools/ci/citation_drift_audit.py --ratchet: passed.
  • RUSTDOCFLAGS="-D warnings" cargo doc --locked --workspace --no-deps: passed.
  • cargo clippy --locked --workspace --all-targets -- -D warnings: passed.
  • cargo nextest run --locked -p apple-fs -p checksums -p core -p rsync_io: 5188 passed, 65 skipped.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 15, 2026
@oferchen
oferchen merged commit 4fa36e8 into master Nov 15, 2026
94 checks passed
@oferchen
oferchen deleted the feat/upstream-3.5.2 branch November 15, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant