-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add new CI Spellcheck job #6297
Add new CI Spellcheck job #6297
Conversation
add spellcheck.dic, spellcheck.toml, and add new CI spellcheck job
I think it makes sense to surround Additionally, it would be beneficial to incorporate a section in |
Thanks for your feedback. So you mean we should modify e.g. &mut in https://github.com/tokio-rs/tokio/blob/master/tokio/src/runtime/time/entry.rs#L85-L88 should be changed inplace to `&mut` |
Yes. In that particular example I think |
Ok make sense to me. It'll require some more time to modify each comment piece by piece though. I'll revise them soon |
No worries. Thanks. |
backticks common rust / tokio words, and fix some typos
fix failing doc CI
@maminrayej Can I ask for your review again ? I backtick-ed lots of rust / tokio words and trimmed the dictionary file down to 3xx entries. However, I notice that not all rust / tokio words can be backtick-ed. (e.g. |
Great progress! The issue you've mentioned happens because of a formatting mistake in that file. There are two empty lines that are commented using
I've tested this using the following command:
Keep an eye out for these formatting mistakes if you encounter something like this again. When you apply these fixes, the size of the |
…vise the contributing.md Further trim down the dic size, revise a few formatting error, and revise the contributing.md
add newline for ci.yml, cargo.toml, spellcheck.dic, spellcheck.toml
Backticked more words & trim down dictionary
Thanks @maminrayej for your comment. I've backticked some more words and removed them from the dictionary. However, there're still a few words which I'd say it's just normal english words and I'd recommend putting it into dictioary (e.g. |
Ah I think it's a misunderstanding. GitHub shows around the place where a comment is placed. For example in here:
Comment is placed on Let me give you the list of words here:
Everything else should be reverted back. Sorry for the inconvenience. |
This reverts commit 5f0f103.
…rom dictionary remove assert_eq, bool, buf, cfg, const, fuzz_linked_list, shard_id from dictionary
Thanks. Reverted everything and removed only these 7 words |
Can you also trigger the failing test to rerun ? I saw the |
Thanks! @Darksonn I believe this PR is in good shape. There are additional work that can be done like making sure the |
As per #6263 , This PR introduce a new CI spellcheck job using
cargo spellcheck
. The job leverages thespellcheck.toml
andspellcheck.dic
to perform spelling check on the docs.