-
Notifications
You must be signed in to change notification settings - Fork 0
Fix doc examples and remove duplicate tests #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8a3469b
to
76aa508
Compare
Summary
extractor.rs
no_run
and include necessary importsTesting
cargo clippy -- -D warnings
RUSTFLAGS="-D warnings" cargo test
markdownlint 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.rs
Documentation:
server.rs
andmiddleware.rs
fromignore
tono_run
use
statements to code examples in server and middleware docsServiceResponse
) in docsSharedState
example inextractor.rs
to clone state consistentlySummary by CodeRabbit
Documentation
Tests