Fix doc examples and remove duplicate tests#25
Conversation
Reviewer's GuideThis PR standardizes documentation examples across the codebase—switching fences to Class Diagram: Removal of Test Module from extractor.rsclassDiagram
class TestModule_in_extractor_rs {
<<Removed>>
# Test Module
+advance_consumes_bytes()
+remaining_reports_length()
}
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
WalkthroughThe changes remove the test module for the Changes
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
8a3469b to
76aa508
Compare
Summary
extractor.rsno_runand include necessary importsTesting
cargo clippy -- -D warningsRUSTFLAGS="-D warnings" cargo testmarkdownlint README.md docs/*.md(fails: many pre-existing issues)nixie docs/*https://chatgpt.com/codex/tasks/task_e_684ca13457e08322b98c479e06e77c98
Summary by Sourcery
Clean up documentation examples by converting code blocks to
no_run, adding necessary imports, and fixing the middleware example, and remove duplicate payload tests in the extractor.Enhancements:
extractor.rsDocumentation:
server.rsandmiddleware.rsfromignoretono_runusestatements to code examples in server and middleware docsServiceResponse) in docsSharedStateexample inextractor.rsto clone state consistentlySummary by CodeRabbit
Documentation
Tests