docs(core,eth): fix typos #29024 #29036#2161
docs(core,eth): fix typos #29024 #29036#2161gzliudan wants to merge 1 commit intoXinFinOrg:dev-upgradefrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
This PR fixes GoDoc comment grammar in a few core/geth components by correcting “create” to “creates”, aligning comments with Go’s documentation conventions (comments should start with the identifier name and use third-person singular verbs).
Changes:
- Fix GoDoc phrasing for
NewDownloaderAPI - Fix GoDoc phrasing for
NewMinerAPI - Fix GoDoc phrasing for
newListandNewStateSync
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
eth/downloader/api.go |
Updates GoDoc comment for NewDownloaderAPI to proper grammar. |
eth/api_miner.go |
Updates GoDoc comment for NewMinerAPI to proper grammar. |
core/txpool/legacypool/list.go |
Updates GoDoc comment for newList to proper grammar. |
core/state/sync.go |
Updates GoDoc comment for NewStateSync to proper grammar. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6862e74 to
d02c632
Compare
creat #29024
Proposed changes
fix typos
Ref:
Types of changes
What types of changes does your code introduce to XDC network?
Put an
✅in the boxes that applyImpacted Components
Which parts of the codebase does this PR touch?
Put an
✅in the boxes that applyChecklist
Put an
✅in the boxes once you have confirmed below actions (or provide reasons on not doing so) that