-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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 typos and pseudo-typos 10 #36251
Conversation
@@ -58,10 +58,10 @@ const bindGroup = device.createBindGroup({ | |||
}, | |||
}, | |||
], | |||
label: "mybindgroup", | |||
label: "my-bind-group", |
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.
FWIW, and probably too late, I much prefer underscores as a word separator.
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.
I have no objection to that so at least we can use underscores for WebGPU docs. Frankly, I would have used spaces since these labels are arbitrary anyway.
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.
So yes, for labels, spaces make more sense. For code I prefer camelcase or _
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.
But thanks for the change!
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.
This looks reasonable on a scan. I haven't robustly checked for stuff like linked examples etc.
Approving so you can merge when you need to.
Thanks for your review! |
I am fixing a lot of nits in content. The goal is to make our custom dictionaries as small as possible by eliminating things that could be better recognized as words. This not only helps with automation but helps with human readers too, especially those who may be slow to recognize words.
cSpell:ignore
to prevent it being ignored in other files.