-
Notifications
You must be signed in to change notification settings - Fork 12.1k
docs: Fix typos and inaccuracies #5897
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
base: typo-fixes
Are you sure you want to change the base?
Conversation
|
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR refines the documentation by correcting spelling mistakes, standardizing terminology, and clarifying descriptions in the accounts and utilities pages. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
WalkthroughMinor documentation edits in two AsciiDoc pages: corrected duplicate word and phrasing in accounts.adoc, and fixed a typo in utilities.adoc. No code or API changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type 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.
Hey there - I've reviewed your changes - here's some feedback:
- Please add a changeset entry for these documentation updates so they are included in the next release.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Please add a changeset entry for these documentation updates so they are included in the next release.
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
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.
Actionable comments posted: 1
🧹 Nitpick comments (2)
docs/modules/ROOT/pages/accounts.adoc (2)
36-36
: Grammar: use “a user operation”.Indefinite article before “user” should be “a”.
-The first time you send an user operation, your account will be created deterministically (i.e. its code and address can be predicted) using the `initCode` field in the UserOperation. +The first time you send a user operation, your account will be created deterministically (i.e., its code and address can be predicted) using the `initCode` field in the UserOperation.
74-74
: Style: smoother phrasing for readability.“allows receiving” → “allows accepting”.
-The benefit of this standard is that it allows receiving any format of `signature` for a given `hash`. +The benefit of this standard is that it allows accepting any signature format for a given hash.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
docs/modules/ROOT/pages/accounts.adoc
(2 hunks)docs/modules/ROOT/pages/utilities.adoc
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: coverage
- GitHub Check: tests-upgradeable
- GitHub Check: tests-foundry
- GitHub Check: tests
- GitHub Check: slither
- GitHub Check: halmos
🔇 Additional comments (1)
docs/modules/ROOT/pages/utilities.adoc (1)
266-266
: Typo fix LGTM.“comparTor” → “comparator” is correct.
@@ -263,7 +263,7 @@ Some use cases require more powerful data structures than arrays and mappings of | |||
- xref:api:utils.adoc#EnumerableSet[`EnumerableSet`]: A https://en.wikipedia.org/wiki/Set_(abstract_data_type)[set] with enumeration capabilities. | |||
- xref:api:utils.adoc#EnumerableMap[`EnumerableMap`]: A `mapping` variant with enumeration capabilities. | |||
- xref:api:utils.adoc#MerkleTree[`MerkleTree`]: An on-chain https://wikipedia.org/wiki/Merkle_Tree[Merkle Tree] with helper functions. | |||
- xref:api:utils.adoc#Heap.sol[`Heap`]: A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with priority defined by a compartor function. | |||
- xref:api:utils.adoc#Heap.sol[`Heap`]: A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with priority defined by a comparator function. |
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.
Fix xref anchor: likely broken target (#Heap.sol
).
Other xrefs in this page use section IDs without “.sol”. This one should probably be #Heap
.
Apply:
- - xref:api:utils.adoc#Heap.sol[`Heap`]: A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with priority defined by a comparator function.
+ - xref:api:utils.adoc#Heap[`Heap`]: A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with priority defined by a comparator function.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
- xref:api:utils.adoc#Heap.sol[`Heap`]: A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with priority defined by a comparator function. | |
- xref:api:utils.adoc#Heap[`Heap`]: A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with priority defined by a comparator function. |
🤖 Prompt for AI Agents
In docs/modules/ROOT/pages/utilities.adoc around line 266, the xref anchor uses
`#Heap.sol` which is inconsistent with other section IDs and likely broken;
update the anchor to `#Heap` so the line reads xref:api:utils.adoc#Heap[`Heap`]:
A https://en.wikipedia.org/wiki/Binary_heap[binary heap] to store elements with
priority defined by a comparator function.
Description
Corrected some misspellings and inaccuracies.
npx changeset add
)Summary by Sourcery
Fix typos and correct inaccuracies in the accounts and utilities documentation pages
Documentation:
Summary by CodeRabbit