docs: fix comment typos in common utilities#5037
Conversation
WalkthroughThis pull request corrects spelling and grammar errors in comments and public documentation across two utility files. Three deferred recovery blocks in channel-send helper functions ( Documentation and Comment Corrections
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Important
📝 变更描述 / Description
发现两处源码注释存在明显拼写错误:
common/go-channel.go:occured->occurredcommon/utils.go:apppended->appended🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。📸 运行证明 / Proof of Work
(请在此粘贴截图、关键日志或测试报告,以证明变更生效)
这不影响运行时行为,但会影响注释可读性。
复现步骤
common/go-channel.goSafeSendBool/SafeSendString/SafeSendStringTimeout附近注释common/utils.goSaveTmpFile注释预期结果
注释拼写正确,且不引入任何逻辑变更。
相关截图
无,属于纯文本注释修正。
Summary by CodeRabbit