Skip to content

docs: tersen rustdoc in runtime supervisor#622

Merged
mfw78 merged 1 commit into
dev/m1from
docs/rustdoc-runtime-supervisor
Jul 25, 2026
Merged

docs: tersen rustdoc in runtime supervisor#622
mfw78 merged 1 commit into
dev/m1from
docs/rustdoc-runtime-supervisor

Conversation

@mfw78

@mfw78 mfw78 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

What

Tersen the rustdoc across the runtime supervisor area: engine_config.rs, supervisor.rs, and supervisor/tests.rs.

Item docs drop to one line, config fields keep only their contract (units, defaults, saturation behaviour), restart/poison/shutdown invariants are preserved but compressed, and the config-schema TOML dumps, history, migration notes, and rationale essays are cut. A stray dispatch_block paragraph misattached to reinstantiate_one is removed.

Why

The house style wants rustdoc terse; these were among the most over-narrated files in the crate. Roughly 859 rustdoc lines before, 490 after across the three files.

Testing

RUSTDOCFLAGS="-D warnings" cargo doc --no-deps -p nexum-runtime, cargo test --doc -p nexum-runtime, cargo fmt --all --check, just check-venue-agnostic, and just check-cow-orderbook-only, all green.

AI Assistance

Drafted with Claude Code under review.

Part of #613.

Compress engine_config.rs, supervisor.rs, and supervisor/tests.rs doc comments to the terse house style: one-line item docs, config fields cut to their contract (units, defaults, saturation), restart and poison invariants kept but compressed, and the config-schema, history, and rationale essays dropped.

Part of #613.
@mfw78
mfw78 merged commit 8c0eb96 into dev/m1 Jul 25, 2026
7 checks passed
@mfw78
mfw78 deleted the docs/rustdoc-runtime-supervisor branch July 25, 2026 07:30
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