Repository navigation
docs(query): resolve the private intra-doc links in rustledger-query - #2494
Conversation
Seven intra-doc links pointed at items rustdoc could not resolve: three unqualified Executor methods in aggregation.rs, two PriceDatabase methods through an out-of-scope module path in executor/mod.rs, and from_directives in price.rs. Qualify them so the private-item docs build cleanly with -D warnings. Closes #2443 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr
📊 Benchmark Results
vs base, measured in this run
A difference counts only when it clears the combined spread of the two measurements, per shape (2σ: What do these numbers mean?
|
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Review (final: 3 passes)No changes needed. Private-items docs, public docs, fmt and clippy are clean, and query tests pass. On the combined tree with all four lane-A PRs, the private-items docs show 0 errors, including #2489's new Integration (final heads, plus #2487, #2490 and #2491, merged onto main 184e9d1 in a scratch tree with its own target dir): the only conflicts are in
Merge order: #2494 → #2489 → #2492 → #2493; #2487, #2490 and #2491 can go anywhere. Nothing is order-dependent. |
What changed
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --document-private-items -p rustledger-query --all-featuresreported seven unresolved intra-doc links (the issue counted three; four more appeared since):executor/aggregation.rs(x4)evaluate_aggregate_expr,evaluate_having_expr,evaluate_aggregate_table_exprSelf::(they areExecutormethods)executor/mod.rs(x2)price::PriceDatabase::convert,convert_latestcrate::price::...(priceis not in scope there)price.rsfrom_directivesSelf::from_directivesDoc comments only; no code change.
Verification
origin/main184e9d1). The publiccargo doc -D warnings -p rustledger-querystays clean;cargo fmt --checkclean.CI
Not added here. CI builds public docs only, so private links can rot again. A whole-workspace step is not safe to add yet:
cargo doc --no-deps --document-private-items --workspace --all-features -D warningscurrently fails in 9 other crates (rustledger-core,-booking,-validate,-loader,-plugin,-lsp,-wasm,-ffi-component,rustledger). A step scoped to-p rustledger-querywould pass after this PR; widening it needs those crates cleaned first.Closes #2443
🤖 Generated with Claude Code
https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr